[<<]Message[>>]        Author[>>]        Subject[>>]        Thread[>>]

Number : 10752 Date : 2005-03-11 Author : matt_theuma Subject : XCopy Batch File > XXCopy Size(KB) : 0
Hi, Can someone explain how I can get the following batch file working with XXCopy... It works with XCopy, but XXCopy returns an error saying: The source and/or destination specifiers are allowed only in the regular command line (or a command file (/CF) in it). I take it I have to pass the variables to XXCopy in a different manner, but I don't know how. [BEGIN BATCH FILE] SET inputFile=D:\text.txt FOR /F "tokens=1,2 delims=," %%i IN (%inputFile%) DO SET source="%%i" & SET dest="%%j" & call :next GOTO :EOF :next ECHO.F|xCopy %source% %dest% /y /v /z /c REM This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.