Win7 Drive Mapping doesn't work in VBScipt
Posted on 2011-02-10
I CANNOT use my drive mapping to locate files in Win7. For example the following script runs:
"c:\DTL Database\vbSendMail.DLL", True
But the following does not?
oFSO.copyfile "T:\MCL_Dbase\Setup\vbSendMail.DLL", "c:\DTL Database\vbSendMail.DLL", True
To fix the problem, I had to replace T drive for the full server path.
Note: T does show up correctly in Windows Explorer
I also can't use WScript.ScriptFullName because of this.
Anyone know of a cure? I need to get this script running on my 50 user's PCs