The VBScript Replace function lets you switch out one character for another in a string. You can use this function to replace the period character with an underscore. You load the file name into a ...
Functions should be self-contained. Always. Of course, if you *do* insist on breaking the rules, just Dim the variable outside of any sub or function and it is global. You can't control whether or not ...