I have written a script that will rename files in a certain directory to the date they were created. I did this as I want the whole script to do the following:
1. Check for existing files, if exist rename (this works)
2. Map network drives (wanting a prompt for username and password) **This is currently not working**
3. Move files from pathA to pathB
I cannot continue to step 3 without getting step 2 to work. I do have the VBscript written for (1 and it works) and (3 also works) but having a tough time with "net use password" command for step 2
Any ideas?
Thanks
The Geek
Dont be afraid to share what you know. There are no losers in our arena, only self rightous monkeys atop their own tree.
1. Check for existing files, if exist rename (this works)
2. Map network drives (wanting a prompt for username and password) **This is currently not working**
3. Move files from pathA to pathB
I cannot continue to step 3 without getting step 2 to work. I do have the VBscript written for (1 and it works) and (3 also works) but having a tough time with "net use password" command for step 2
Any ideas?
Thanks
The Geek
Dont be afraid to share what you know. There are no losers in our arena, only self rightous monkeys atop their own tree.