Hi forum. I have a problem.I would like to make a folder in network share. Folder must have a name of the comuter from wich script is runing. I trie with this:
set wshShell = CreateObject("wscript.shell")
wshShell.run("md \\myshare\%computername%"),1 , True
but Im getting an error with code 80070002 (The sistem cannot find the file specified). If i put this command in CMD-line it works, but i dont have any idea why this command doesen't work in my script. Thx for any help
Jure
set wshShell = CreateObject("wscript.shell")
wshShell.run("md \\myshare\%computername%"),1 , True
but Im getting an error with code 80070002 (The sistem cannot find the file specified). If i put this command in CMD-line it works, but i dont have any idea why this command doesen't work in my script. Thx for any help
Jure