seanab
asked on
using xcopy to copy a file says Invalid Parameter....
Trying to run xcopy:
xcopy \\%logonserver%\netlogon\P ipelineSeg ments.stor e C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA\Pipeline\
fails with Invalid parameter.. I've tried it using this as well:
xcopy "\\%logonserver%\netlogon\ PipelineSe gments.sto re" \\%computername%\Program Files (x86)\Common Files\Microsoft Shared\VSTA\Pipeline\
that fails as well..
Just to make sure I wasnt going nuts I did
xcopy c:\test.txt c:\temp and that worked...
so is it something to do with UNC paths?
xcopy \\%logonserver%\netlogon\P
fails with Invalid parameter.. I've tried it using this as well:
xcopy "\\%logonserver%\netlogon\
that fails as well..
Just to make sure I wasnt going nuts I did
xcopy c:\test.txt c:\temp and that worked...
so is it something to do with UNC paths?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
billprew, yes that was actually right.. I just couldnt run it from a command prompt.. I ran it from a *.cmd script and it worked.. also I couldnt use "\\%logonserver%\.... but "%logonserver\.."
ASKER