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

Number : 10753 Date : 2005-03-11 Author : GrimShady Subject : Will this work? Keeping two locations up to date Size(KB) : 1
I need to keep two different sites updated to the most current files. If I run this command xxcopy /bi /bn /ff and then xxcopy /bi /bn /ff Will this make both X and Y identical both with the latest files from each location? Thanks for your experienced help Todd Snyder ----- Original Message ----- From: "matt_theuma" To: Sent: Friday, March 11, 2005 10:48 AM Subject: [xxcopy] XCopy Batch File > XXCopy > > > 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 > GOTO :EOF > > [/END BATCH FILE] > > Thanks and regards, > Matthew > > > > > > > Yahoo! Groups Links > > > > > >
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.