I have a script that collects a list of files within a folder, then places each filename on a new row in excel.
How can I get rid of the file extension when writing the filename to excel?
I've tried using fso.getbasename(file.shortname) method, but some of these files are much longer than 8 characters. As they identify computer names, I need to be able to see the entire filename before the extension.
Thanks
[small]Listen to those who know, believe in those that do[/small]
How can I get rid of the file extension when writing the filename to excel?
I've tried using fso.getbasename(file.shortname) method, but some of these files are much longer than 8 characters. As they identify computer names, I need to be able to see the entire filename before the extension.
Thanks
[small]Listen to those who know, believe in those that do[/small]