This test fails (results in Not Exist message):
If DirExist(`P:\Tech\Updates`) Then Message("Yes","Drive Exists")
Else Message('No','Not Exist')
However, if I open a cmd window the folder definitely exists. Why does the above test fail?
The P: drive is mapped to an SMB share on a Linux box, as follows:
net use p: \\192.168.1.2\THESHARE
My script is being run on a Win7HP machine. Everything else seems to work with this drive: Explorer, Word 2010, Excel 2010, DOS, etc.
I am running the script in debug mode inside the Winbatch Studio.