Page 1 of 1 1
Topic Options
#165022 - 2006-07-25 11:47 AM XCOPY keeps on attacking from behind
MarioFromBelgium Offline
Lurker

Registered: 2006-04-26
Posts: 2
Hi,

a few months I started of with KIx. My first problem was to get XCOPY to work. I solved that then. Now my script is already pretty complicated.
However for some reason my XCOPY doesn't work.
None of the following three possibilitrys work:

RUN 'xcopy "%userprofile%\My Documents\" "y:\" /d /e /y /k /q /c'

SHELL '%COMSPEC% /C xcopy "%userprofile%\My documents\" "y:\" /d /e /y /k /q /c'

SHELL '%COMSPEC% /C xcopy "C:\Documents and Settings\vnm.000\My Documents\" "y:\" /d /e /y /k /q /c'


any ideas?

Top
#165023 - 2006-07-25 01:47 PM Re: XCOPY keeps on attacking from behind
Stanley Offline
Starting to like KiXtart

Registered: 2004-06-03
Posts: 130
Loc: Upstate NY, USA
Maybe this will work? At least you will have a log of the session.
SHELL '%COMSPEC% /C xcopy "C:\Documents and Settings\vnm.000\My Documents\*" "y:\*" /d /e /y /k /q /c /v /f >> C:\xcopylog.txt'

Top
#165024 - 2006-07-25 04:22 PM Re: XCOPY keeps on attacking from behind
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Code:
SHELL '"'+%COMSPEC%+'" /C xcopy "C:\Documents and Settings\vnm.000\My Documents\*" "y:\*" /d /e /y /k /q /c /v /f >> C:\xcopylog.txt'
If @ERROR "XCOPY Failed with error ["+@ERROR+"] "+@SERROR+@CRLF Exit @ERROR EndIf


Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 837 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.029 seconds in which 0.013 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org