Hi,
How would I efficiently incorporate an OR statement into the code below:
Const READONLY = 1
Const WRITEABLE = 0
If file.Attributes = READONLY ........OR .......Then
file.Attributes = WRITEABLE
I've discovered that all file values are not necessarily 1 when they are of type 'read only'...
Hi,
Initially a big thanks to 'spazmann' for his earlier assistance.
I am employing the MapNetworkDrive method to connect to a server using the code below but I can't find a method which will close the connection once my file transfer process has completed.
Set WshNetwork =...
Hi,
Apologies for my incompetence but I am having difficulty using VBScript to automatically log onto a server from a networked workstation with a specified username and password.
I have been allocated a service account on two servers but am struggling to generate the required code.
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.