So, here is what I am trying to do:
I have a logon script that maps drives and printers and runs various bits and pieces. I recently added some code (below) to map a users home folder depending on their username.
*****
strUserName = WSHNetwork.UserName
WSHNetwork.MapNetworkDrive "H:", "\\servername\home$" & "\" & strUserName
*****
Now, I am having trouble getting code to create a new user folder if one does not exist in the destination path...
Any ideas?
I have a logon script that maps drives and printers and runs various bits and pieces. I recently added some code (below) to map a users home folder depending on their username.
*****
strUserName = WSHNetwork.UserName
WSHNetwork.MapNetworkDrive "H:", "\\servername\home$" & "\" & strUserName
*****
Now, I am having trouble getting code to create a new user folder if one does not exist in the destination path...
Any ideas?