![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject [<<]Thread
Number : 7131 Date : 2004-02-02 Author : Kan Yabumoto Subject : Re: netware question Size(KB) : 1
Scott wrote: (Please send Email in plain text only) > I have a netware 3.12 server and a 2000 server and I would like to > use xxcopy every night to mirror from one to the other. I have > a batch file which works from the command line perfectly, but > when I run it as a scheduled task I get an xxcopy error that > the path to the netware server cannot be found. I have tried > the unc path as well as mapping a drive letter. Does anyone > have any ideas I may be missing? Here is the batch file and > the result: > > XXCOPY ver 2.85.2 2004-01-31 17:55:50 Windows Ver 5.0.2195 > > Command Line = xxcopy \\garmen\sys\administration\ /* > */ E:\sys\Montville_Data1\Temp\ /m /i /h /r /c /z /* > */ /pb /oaE:\Backup.txt /of3 /os1 /od3 /oe3 /e /yy > > Invalid source directory (\\garmen\sys\administration\) > > > XXCOPY ver 2.85.2 2004-01-30 15:20:05 Windows Ver 5.0.2195 > > Command Line = xxcopy o:\administration\ /* > */ E:\sys\administration\ /m /i /h /r /c /z /* > */ /pb /oaE:\Backup.txt /of3 /os1 /od3 /oe3 /e /yy > > Invalid source directory (o:\administration\) > > Once again, if I run the same command from a command line it runs fine. [ ** Note: I added the /* ... and ... */ to split the long line.] I think the log-in user is probably different. That is, the problem is nothing to do with XXCOPY (not NetWare-specific). The same problem will probably happen even with as simple command as DIR or COPY that is put into the batch file. It's probably the security (user permission) related issue. What you need to do is to change the settings of the batch file environment. Usually, when you run create an icon that represent the batch file, you should be able to add the log-in settings at the property sheet (right-click on the icon and go into the advanced feature setting where you should find the log-in user and password entries). Kan Yabumoto
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.