#26412 - 2002-08-03 03:42 PM
XCopy alternatives for Windows XP
|
muto
Lurker
Registered: 2002-08-03
Posts: 1
Loc: usa
|
I have a Kixtart script on a NT server that runs a shell command to backup the laptop users local 'My Documents' folders when they dock. This script uses a shell command that includes XCopy. It works fine with the Win9x clients but not the WinXP clients. What alternatives to XCopy are there for WinXP workstations? Thank you.
|
|
Top
|
|
|
|
#26419 - 2002-08-05 02:17 AM
Re: XCopy alternatives for Windows XP
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Alternatives to Xcopy?
Well, for one under 2000/Xp, you have to use the /y switch in batch or scripting. You can use ROBOCOPY from the Resource Kit.. There is XXCOPY.
I also believe there is a UDF that covers this too. Freshfile - Keep client files up to date
HTH,
Kent
|
|
Top
|
|
|
|
#26421 - 2002-08-06 12:15 AM
Re: XCopy alternatives for Windows XP
|
kholm
Korg Regular
   
Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
|
Muto,
If you want to make a shell to XCopy working on all platforms you can use:
Shell 'Echo y | XCopy ...........'
This solution was posted long ago by Bryce.
If you have a different language installed, like I danish, just include your national character for 'Yes' I use this: Shell 'Echo jy | XCopy ...........'
(This works in German too )
I would expect it to be: Shell 'Echo gy | XCopy ...........' In Finland, what do you say Lonkero ??
-Erik
ps. Explanation: In Danish and German the word for Yes is (J)a... and in Finnish (G)ylla [ 06 August 2002, 00:27: Message edited by: kholm ]
|
|
Top
|
|
|
|
#26424 - 2002-08-06 12:58 AM
Re: XCopy alternatives for Windows XP
|
kholm
Korg Regular
   
Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
|
I was close on the Finnish. solution (K=G ) It was K(Y)llä
Anyway, trying to keep on topic the switch /Y is not known on Win9x, so you could code like this:code:
If @Inwin = 1 Shell ' XCopy.........../Y Else Shell ' XCopy........... EndIf
In some situations i have to press ’J’ to answer Yes on the question: Continue:Y/N
Lonkero: The only Finnish competitions i have been in is the long distance throw of rubber boots, Please Translate WRC
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 978 anonymous users online.
|
|
|