Guest_imported
New member
- Jan 1, 1970
- 0
I'm a beginning programmer trying to learn VBScript.
I need to grab a file from a folder and display only the first 6 characters of the filename. Example:
folder = C:\temp
filename = 100452ATestFile.txt
want to display in a message box: 100452
Not sure of how to do this. Any help would be appreciated.
I need to grab a file from a folder and display only the first 6 characters of the filename. Example:
folder = C:\temp
filename = 100452ATestFile.txt
want to display in a message box: 100452
Not sure of how to do this. Any help would be appreciated.