Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Xcopy
Name: John Date: September 20, 2002 at 13:19:06 Pacific OS: W2K Server CPU/Ram: P4 ,1.2GB
Comment:
I have created a batch file containing the xcopy command. It contains the following: xcopy c:\mcafee\server\*.* \\agile\virusupd
when I run the batch file from a command prompt it works, no problem. When I have the batch file execute from a Mcafee task it always gets invalid drive specification. Any thoughts? Thanks - John
Name: bitbyte Date: September 21, 2002 at 03:32:47 Pacific
Reply:
maybe wrong rigths for the mcafee task? i also would mount the netdrive to a free drive letter with the "net use" command every time when the batchfile runs
0
Response Number 2
Name: Jeff Date: September 26, 2002 at 17:02:43 Pacific
Reply:
I have almost the same exact problem. I run a command from Symantec's Ghost Console (it's a batch file) containing the following line:
(that's all one line, if it's not showing up right). S:\ is a mapped network share. I have the same exact error message...the thing is that if I go and double click the file, it works fine and dandily. Only when running the task remotely does it fail. If you've figured out a way to make this work, please let me know!
Summary: The only way (short of finding documentation) I know of to discover errorlevels is the batch commands and analyze the results @echo off xcopy *.* c:\temp /switches echo.%errorlevel% You can even get f...
Summary: Could someone refresh my memory in regard to the meaning of the switches for xcopy. As in xcopy /s /c /h /e /r /k I think s is for system files and h for hidden files and e for ? empty directories but...
Summary: I'm Trying to copy files under dos from d: to c: using xcopy with the date switch (to only copy if newer) eg xcopy d:\clips\*.* c:\ /D /y from a dos window in 95/98/2000 this works but when booting fr...