How can I get all folders to show date modified?

  • Thread starter Thread starter RScotti
  • Start date Start date
Hi Pegasus,
I sent you the email along with what you asked me to do in your previous message.
If you can please repeat any commands you want me to do. I got confused going from the two different messages and had to
delete some of the incorrect information.

I made a mistake in the command I gave you. It should
have read:
xcopy /s /y /d /h /c "C:\test" "J:\test\" 1>c:\test.log 2>&1

At the same time much of what you report is incomprehensible
to me, which makes me suspect that you went off in a different
direction than the one I had in mind.

Seeing that we appear to be running roung in circles in what is
essentially a very simple and very basic task, I conclude that we
are pushing the limits of this method of communication. If you
wish to bring this issue to a satisfactory solution then I suggest
you drop me a note with your valid EMail address so that I can
discuss a more direct method of assistance. It's still totally
non-commercial. You can reach me under this temporary
address: (e-mail address removed). Change both "z"s into "s".
If I don't hear from you within 24 hours then I will close this
thread.

Have a good day,
RScotti

remove "nospam" in order to email me.
 
Hi,
I wanted to stay up and try this. Here is my finished bat file:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\My Documents\Backup" "J:\Backup\"

I only needed the Backup folder in My Documents so I changed the path. Maybe that screwed things up?
Also I noticed we didn't put in the path the HP_Administrator part of the path. Would that be the problem?

When I ran it I got this error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\HP_Administrator>backup.bat
Invalid path
0 File(s) copied
Parse Error
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation

C:\Documents and Settings\HP_Administrator>
I got those two sharing files of the same file ntuser.dat. I thought I did as you told me to do.
The J:\Backup did have all the files that you did in it. I can tell by the time they were put there.

Good Night!

Have a good day,
RScotti

remove "nospam" in order to email me.
 
I did this first. The Agent is copying now but the others have the wrong path. I changed it to the HP_Administrator
folder and still got a error. I named it hp backup.bat
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP_Administrator\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP_Administrator\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP_Administrator\My Documents\Backup" "J:\Backup\"

I got this:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\HP_Administrator>"hp backup"
C:\Program Files\Agent\Data\00000002.DAT
C:\Program Files\Agent\Data\00000002.IDX
C:\Program Files\Agent\Data\00000004.DAT
C:\Program Files\Agent\Data\00000004.IDX
C:\Program Files\Agent\Data\0000000D.DAT
C:\Program Files\Agent\Data\0000000D.IDX
C:\Program Files\Agent\Data\00000019.DAT
C:\Program Files\Agent\Data\00000019.IDX
C:\Program Files\Agent\Data\0000001A.DAT
C:\Program Files\Agent\Data\0000001A.IDX
C:\Program Files\Agent\Data\0000001B.DAT
C:\Program Files\Agent\Data\0000001B.IDX
C:\Program Files\Agent\Data\0000001C.DAT
C:\Program Files\Agent\Data\0000001C.IDX
C:\Program Files\Agent\Data\0000001E.DAT
C:\Program Files\Agent\Data\0000001E.IDX
C:\Program Files\Agent\Data\MWORDS.DAT
C:\Program Files\Agent\Data\MWORDS.IDX
C:\Program Files\Agent\Data\tasklog.xml
19 File(s) copied
File not found - Cookies
0 File(s) copied
File not found - Favorites
0 File(s) copied
File not found - Backup
0 File(s) copied

C:\Documents and Settings\HP_Administrator>


I than moved the original Backup.bat file:

@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\My Documents\Backup" "J:\Backup\"

To the HP_Administrator folder and got this:
C:\Documents and Settings\HP_Administrator>backup.bat
C:\Program Files\Agent\Data\MWORDS.DAT
C:\Program Files\Agent\Data\MWORDS.IDX
C:\Program Files\Agent\Data\tasklog.xml
3 File(s) copied
File not found - Cookies
0 File(s) copied
File not found - Favorites
0 File(s) copied
File not found - Backup
0 File(s) copied

C:\Documents and Settings\HP_Administrator>

Good Night Again!



Hi,
I wanted to stay up and try this. Here is my finished bat file:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\My Documents\Backup" "J:\Backup\"

I only needed the Backup folder in My Documents so I changed the path. Maybe that screwed things up?
Also I noticed we didn't put in the path the HP_Administrator part of the path. Would that be the problem?

When I ran it I got this error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\HP_Administrator>backup.bat
Invalid path
0 File(s) copied
Parse Error
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation

C:\Documents and Settings\HP_Administrator>
I got those two sharing files of the same file ntuser.dat. I thought I did as you told me to do.
The J:\Backup did have all the files that you did in it. I can tell by the time they were put there.

Good Night!

Have a good day,
RScotti

remove "nospam" in order to email me.

Have a good day,
RScotti

remove "nospam" in order to email me.
 
I thought you were asleep by now?

Yes, your batch file should probably read like so:

@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Cookies"
"J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Favorites"
"J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\My
Documents\Backup" "J:\Backup\"

or perhaps like so:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Cookies"
"J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Favorites"
"J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\My Documents"
"J:\My Documents\"

Watch out in case the lines wrap in your newsreader! Each line
(other than the first) should start with "xcopy".


RScotti said:
Hi,
I wanted to stay up and try this. Here is my finished bat file:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\My Documents\Backup" "J:\Backup\"

I only needed the Backup folder in My Documents so I changed the path. Maybe that screwed things up?
Also I noticed we didn't put in the path the HP_Administrator part of the
path. Would that be the problem?
When I ran it I got this error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\HP_Administrator>backup.bat
Invalid path
0 File(s) copied
Parse Error
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation

C:\Documents and Settings\HP_Administrator>
I got those two sharing files of the same file ntuser.dat. I thought I did as you told me to do.
The J:\Backup did have all the files that you did in it. I can tell by the time they were put there.

Good Night!

Have a good day,
RScotti

remove "nospam" in order to email me.
 
I still trying to figure this out not having much luck.

I thought you were asleep by now?

Yes, your batch file should probably read like so:

@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Cookies"
"J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Favorites"
"J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\My
Documents\Backup" "J:\Backup\"

or perhaps like so:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Cookies"
"J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Favorites"
"J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\My Documents"
"J:\My Documents\"

Watch out in case the lines wrap in your newsreader! Each line
(other than the first) should start with "xcopy".


RScotti said:
Hi,
I wanted to stay up and try this. Here is my finished bat file:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\My Documents\Backup" "J:\Backup\"

I only needed the Backup folder in My Documents so I changed the path. Maybe that screwed things up?
Also I noticed we didn't put in the path the HP_Administrator part of the
path. Would that be the problem?
When I ran it I got this error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\HP_Administrator>backup.bat
Invalid path
0 File(s) copied
Parse Error
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation

C:\Documents and Settings\HP_Administrator>
I got those two sharing files of the same file ntuser.dat. I thought I did as you told me to do.
The J:\Backup did have all the files that you did in it. I can tell by the time they were put there.

Good Night!

Have a good day,
RScotti

remove "nospam" in order to email me.

Have a good day,
RScotti

remove "nospam" in order to email me.
 
Hi,
I think I at least got part of it.We forgot the C:\
Don't know about this MS installer I did that earlier had to reinstall Partition Magic for the new Vista RC1

@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\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\"

C:\Documents and settings\HP_Administrator\Cookies\[email protected][
1].txt
C:\Documents and settings\HP_Administrator\Cookies\[email protected][
1].txt
C:\Documents and settings\HP_Administrator\Cookies\hp_administrator@microsoft[1]
.txt
C:\Documents and settings\HP_Administrator\Cookies\[email protected]
osoft[2].txt
C:\Documents and settings\HP_Administrator\Cookies\[email protected]
ymantec[2].txt
C:\Documents and settings\HP_Administrator\Cookies\index.dat
7 File(s) copied
0 File(s) copied
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le.htm
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Redist.txt
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer.htm
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\windows installer 3.1 EULA.doc
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e.htm
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1.htm
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\WindowsInstaller-KB893803-v2-x86.exe
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\38DF6AB1-13D4-409C-966D-CBE61F040027.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\ADSAdClient31.htm
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\arrowLTR.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\arrow_px_up.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\broker.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\CAH4EL5B.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\css(1).css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\css.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\gaicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\gaiconbig.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\ga_43.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\js.aspx
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\main.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\menujs.config&displaylang=en&clicktrax=False
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\ms_masthead_ltr.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\njs.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\ql.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\ql.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\su.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\subbanner.jpg
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Download details Windows Installer 3_1 Redistributab
le_files\wt.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\a
rrowButton.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\b
aynote.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\b
utton_dropdown.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\c
art.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\g
lobalNavCorner.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\h
ome.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\h
ome_homeoffice2.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\j
scl_CommonRoutines
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\k
b_default_071806.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\k
b_hm.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\l
ocalArrow.jpg
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\l
ogo.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\m
onk_080806a.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\n
avDivHome.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\o
o_engine.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\p
rint.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\r
ate.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\s
ymantec.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\s
ymantec2.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Reinstalling the Microsoft Windows Installer_files\s
_code.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\4101ccf1S.jpg
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\99b166acS.jpg
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\b433593aS.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\common.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\d3e6e07eS.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\default.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\default.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\Download.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\emailicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\gotoicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\GSSSM_rltlngRelatedlanguages.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\GSSSM_searchUI.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\kbtoc.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\langicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\ms_masthead_ltr.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\onepix.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\override.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\printicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\saveicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\sendicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\signin.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\survey.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\surveysubmit.htm
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\uparrow.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer 3_1 v2 (3_1_4000_2435) is availabl
e_files\xmlContent.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\4101ccf1S.jpg
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\99b166acS.jpg
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\b433593aS.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\common.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\d3e6e07eS.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\default.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\default.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\emailicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\gotoicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\GSSSM_rltlngRelatedlanguages.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\GSSSM_searchUI.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\langicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\ms_masthead_ltr.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\onepix.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\override.css
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\printicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\saveicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\sendicon.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\signin.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\survey.js
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\surveysubmit.htm
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\uparrow.gif
C:\Documents and settings\HP_Administrator\My Documents\Backup\Microsoft Windows
Installer CleanUp Utility'\Windows Installer fails silently after you upgrade t
o Windows Installer 3_1_files\xmlContent.css
96 File(s) copied

C:\Documents and Settings\HP_Administrator>


I thought you were asleep by now?

Yes, your batch file should probably read like so:

@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Cookies"
"J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Favorites"
"J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\My
Documents\Backup" "J:\Backup\"

or perhaps like so:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Cookies"
"J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Favorites"
"J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\My Documents"
"J:\My Documents\"

Watch out in case the lines wrap in your newsreader! Each line
(other than the first) should start with "xcopy".


RScotti said:
Hi,
I wanted to stay up and try this. Here is my finished bat file:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\My Documents\Backup" "J:\Backup\"

I only needed the Backup folder in My Documents so I changed the path. Maybe that screwed things up?
Also I noticed we didn't put in the path the HP_Administrator part of the
path. Would that be the problem?
When I ran it I got this error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\HP_Administrator>backup.bat
Invalid path
0 File(s) copied
Parse Error
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation

C:\Documents and Settings\HP_Administrator>
I got those two sharing files of the same file ntuser.dat. I thought I did as you told me to do.
The J:\Backup did have all the files that you did in it. I can tell by the time they were put there.

Good Night!

Have a good day,
RScotti

remove "nospam" in order to email me.

Have a good day,
RScotti

remove "nospam" in order to email me.
 
Hi
Just ran it again, I changed the name to b.bat. I like small names cause I have trouble typing any how I got this:
Looks OK I think. BUT I will have to wait till I update some files to see If it works on just the new files. Because I
didn't think my Agent folder changed that much in a few minutes.

Good Again!!!!!
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\HP_Administrator>b
C:\Program Files\Agent\Data\00000004.DAT
C:\Program Files\Agent\Data\00000004.IDX
C:\Program Files\Agent\Data\0000000D.DAT
C:\Program Files\Agent\Data\0000000D.IDX
C:\Program Files\Agent\Data\errorlog.xml
C:\Program Files\Agent\Data\tasklog.xml
6 File(s) copied
0 File(s) copied
0 File(s) copied
0 File(s) copied

C:\Documents and Settings\HP_Administrator>
I thought you were asleep by now?

Yes, your batch file should probably read like so:

@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Cookies"
"J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Favorites"
"J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\My
Documents\Backup" "J:\Backup\"

or perhaps like so:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Cookies"
"J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\Favorites"
"J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\HP Administrator\My Documents"
"J:\My Documents\"

Watch out in case the lines wrap in your newsreader! Each line
(other than the first) should start with "xcopy".


RScotti said:
Hi,
I wanted to stay up and try this. Here is my finished bat file:
@echo off
xcopy /s /y /d /h /c "C:\Program Files\Agent" "J:\Agent\"
xcopy /s /y /d /h /c "Documents and settings\Cookies" "J:\Cookies\"
xcopy /s /y /d /h /c "Documents and settings\Favorites" "J:\Favorites\"
xcopy /s /y /d /h /c "Documents and settings\My Documents\Backup" "J:\Backup\"

I only needed the Backup folder in My Documents so I changed the path. Maybe that screwed things up?
Also I noticed we didn't put in the path the HP_Administrator part of the
path. Would that be the problem?
When I ran it I got this error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\HP_Administrator>backup.bat
Invalid path
0 File(s) copied
Parse Error
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation
C:\Documents and Settings\HP_Administrator\ntuser.dat
Sharing violation

C:\Documents and Settings\HP_Administrator>
I got those two sharing files of the same file ntuser.dat. I thought I did as you told me to do.
The J:\Backup did have all the files that you did in it. I can tell by the time they were put there.

Good Night!

Have a good day,
RScotti

remove "nospam" in order to email me.

Have a good day,
RScotti

remove "nospam" in order to email me.
 
Hi Pegasus,
Thank you for your help on this. I couldn't have done it without you.

I do have a two questions.
I was watching the first run of the new bat file and notice that even though it displayed all the files it copied. When
I copied them they only had the 228 files from my Vista Upgrade Advisor in the notepad.
The other files were omitted from notepad for some reason.
Does this show just certain types of coping?
I checked my J:\directory and all the folders were updated.

Here is just one of the files in question with the second run to confirm it was working correctly.
C:\Documents and settings\HP_Administrator\My Documents\Backup\Vista\USB NO Fire
wire UpgradeAdvisorTaskList_Files\images\WorkAnywhere.png
228 File(s) copied

C:\Documents and Settings\HP_Administrator>b
0 File(s) copied
C:\Documents and settings\HP_Administrator\Cookies\index.dat
1 File(s) copied
0 File(s) copied
0 File(s) copied

Do you remember where those Temp files were that you mentioned? I can't find them anywhere.
I did a search for tmp and temp but just came up the three in my Agent folder.

Have a good day,
RScotti

remove "nospam" in order to email me.
 
You need to remember the original subject of your post.
You wanted to back up only new and recently modified
files. This is precisely what you get with the commands
you now use.

If you believe that a certain file has not been backed up
then you should NOT rely on the backup report. You
must locate this file in the source area, note its date stamp,
then verify that it exists in the target area, with the SAME
date stamp. I bet it does!


RScotti said:
Hi Pegasus,
Thank you for your help on this. I couldn't have done it without you.

I do have a two questions.
I was watching the first run of the new bat file and notice that even
though it displayed all the files it copied. When
 
Hi Pegasus,
From what I saw it looks like all the files are backed up and even though I didn't mention that in my OP I wanted that
to happen especially if say something happened like a unintentional delete.
I purposely rename one of my files in the destination directory and the backup replaced it. I do want that.

If that is not the way it was made can I add a switch to do it?
You need to remember the original subject of your post.
You wanted to back up only new and recently modified
files. This is precisely what you get with the commands
you now use.

If you believe that a certain file has not been backed up
then you should NOT rely on the backup report. You
must locate this file in the source area, note its date stamp,
then verify that it exists in the target area, with the SAME
date stamp. I bet it does!



though it displayed all the files it copied. When

Have a good day,
RScotti

remove "nospam" in order to email me.
 
The current switches will ensure that the target folder at
all times has a full set of the latest files as they exist in
the source folder. If you have extra files in the target
folder that do not exist in the source folder then these
extra files will remain untouched in the target folder.

RScotti said:
Hi Pegasus,
From what I saw it looks like all the files are backed up and even though
I didn't mention that in my OP I wanted that
to happen especially if say something happened like a unintentional delete.
I purposely rename one of my files in the destination directory and the
backup replaced it. I do want that.
 
Thanks again,
I just wanted to make sure it will copy any files from the source folder that are not in the target folder.
The current switches will ensure that the target folder at
all times has a full set of the latest files as they exist in
the source folder. If you have extra files in the target
folder that do not exist in the source folder then these
extra files will remain untouched in the target folder.


I didn't mention that in my OP I wanted that
backup replaced it. I do want that.

Have a good day,
RScotti

remove "nospam" in order to email me.

Specifications:
PentiumD 820 (S) DC 2.8 GHz
Asus Motherboard Name: P5LP-LE
Memory Installed 2 GB (2 x 1 GB)
Hard drive 250 GB SATA
External HD 500 Gb Western Digital
16X DVD(+/-)R/RW (+/-)R DL LightScribe drive
Nvidia Video Graphics GeForce 7300LE 256 MB
Sound/Audio Integrated High Definition audio
Realtek ALC 882 chipset Supports up to 8 audio channels Dolby Pro Logic II compatible
HP multimedia keyboard
HP PS/2 scroller mouse
 
PS:
I just wanted to say thanks again I could never repay you for all your help on this.
It means a lot to me and is working beautiful and saving me a lot of time figuring out what needs to be updated.

Have a good day,
RScotti

remove "nospam" in order to email me.

Specifications:
PentiumD 820 (S) DC 2.8 GHz
Asus Motherboard Name: P5LP-LE
Memory Installed 2 GB (2 x 1 GB)
Hard drive 250 GB SATA
External HD 500 Gb Western Digital
16X DVD(+/-)R/RW (+/-)R DL LightScribe drive
Nvidia Video Graphics GeForce 7300LE 256 MB
Sound/Audio Integrated High Definition audio
Realtek ALC 882 chipset Supports up to 8 audio channels Dolby Pro Logic II compatible
HP multimedia keyboard
HP PS/2 scroller mouse
 
You're welcome.


RScotti said:
PS:
I just wanted to say thanks again I could never repay you for all your help on this.
It means a lot to me and is working beautiful and saving me a lot of time
figuring out what needs to be updated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top