I have a script that runs a net use command to remote
workstations Admin$. Once the Net use authentication takes place I need to confirm I have access to files within the
share. If I were using shell script I would run the following command.
If file Exists \\Workstation\admin\*.*
However as far as I can see you cannot use wildcards using the FileExists method in VBscript.
Can anybody give me a suggestion of how best to get round this problem......
workstations Admin$. Once the Net use authentication takes place I need to confirm I have access to files within the
share. If I were using shell script I would run the following command.
If file Exists \\Workstation\admin\*.*
However as far as I can see you cannot use wildcards using the FileExists method in VBscript.
Can anybody give me a suggestion of how best to get round this problem......