I have the following command in a vbscript:
Set colFiles = objWMIService. ExecQuery("Select * from CIM_DataFile where Path = '\\PDF\\TEST\\'")
If a file with a .doc extentsion is found in this folder, we use word to open it and print it. Within the document we have a footer that references the filename.
If the file name is, TestFile001.doc, the footer shows up in all lowercase. If I open the file manually it shows up in the correct case, which is the same as the file name.
I know Windows is not case sensitive, but is there a way to preserve the case?