R
RScotti
Hi,
I am trying to reverse the following Bat file but for some reason I am doing something wrong.
Could you please show me my mistake?
I can't seem to recognize it.
It works this way:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "C:\Program Files\Agent" "C:\Documents and settings\HP_Administrator\My Documents\Agent\"
xcopy /s /y /d /h /c "C:\Documents and settings\HP_Administrator\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "C:\Documents and settings\HP_Administrator\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "C:\Documents and settings\HP_Administrator\My Documents\Backup" "J:\Backup\"
xcopy /s /y /d /h /c "C:\Documents and settings\HP_Administrator\My Documents\Backup" "J:\CBackup\"
But not this way:
@echo off
rem xcopy /s /y /d /h /c "J:\Agent\" "C:\Program Files\Agent"
xcopy /s /y /d /h /c "J:\Agent\" "C:\Documents and settings\HP_Administrator\My Documents\Agent\"
xcopy /s /y /d /h /c "J:\Cookies\" "C:\Documents and settings\HP_Administrator\Cookies"
xcopy /s /y /d /h /c "J:\Favorites\" "C:\Documents and settings\HP_Administrator\Favorites"
xcopy /s /y /d /h /c "J:\Backup\" "C:\Documents and settings\HP_Administrator\My Documents\Backup"
xcopy /s /y /d /h /c "J:\CBackup\" "C:\Documents and settings\HP_Administrator\My Documents\CBackup"
This is all I get:
C:\Documents and Settings\HP_Administrator>r
Invalid path
0 File(s) copied
Invalid path
0 File(s) copied
Invalid path
0 File(s) copied
Invalid path
0 File(s) copied
Invalid path
0 File(s) copied
Once in a great while the source where I am executing it from turns to the old DOS 8/3 format at the end of the failed
run.
My external source drive is on and can see the files.
Have a good day!
RScotti
I am trying to reverse the following Bat file but for some reason I am doing something wrong.
Could you please show me my mistake?
I can't seem to recognize it.
It works this way:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "C:\Program Files\Agent" "C:\Documents and settings\HP_Administrator\My Documents\Agent\"
xcopy /s /y /d /h /c "C:\Documents and settings\HP_Administrator\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "C:\Documents and settings\HP_Administrator\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "C:\Documents and settings\HP_Administrator\My Documents\Backup" "J:\Backup\"
xcopy /s /y /d /h /c "C:\Documents and settings\HP_Administrator\My Documents\Backup" "J:\CBackup\"
But not this way:
@echo off
rem xcopy /s /y /d /h /c "J:\Agent\" "C:\Program Files\Agent"
xcopy /s /y /d /h /c "J:\Agent\" "C:\Documents and settings\HP_Administrator\My Documents\Agent\"
xcopy /s /y /d /h /c "J:\Cookies\" "C:\Documents and settings\HP_Administrator\Cookies"
xcopy /s /y /d /h /c "J:\Favorites\" "C:\Documents and settings\HP_Administrator\Favorites"
xcopy /s /y /d /h /c "J:\Backup\" "C:\Documents and settings\HP_Administrator\My Documents\Backup"
xcopy /s /y /d /h /c "J:\CBackup\" "C:\Documents and settings\HP_Administrator\My Documents\CBackup"
This is all I get:
C:\Documents and Settings\HP_Administrator>r
Invalid path
0 File(s) copied
Invalid path
0 File(s) copied
Invalid path
0 File(s) copied
Invalid path
0 File(s) copied
Invalid path
0 File(s) copied
Once in a great while the source where I am executing it from turns to the old DOS 8/3 format at the end of the failed
run.
My external source drive is on and can see the files.
Have a good day!
RScotti