Re: How can I get all folders to show date modified?



Hi Pegasus,
For some reason I can't send you all my data. I tried twice and it won't post here so here is the short version.
It is now 6:18 PM and the third try.

Hi,
I sent this message @ 1:07 PM and haven't seen it posted yet. It's now 5:36 PM so I am sending it again.

I have exhausted all my know how on the three that didn't copy all the files and really don't know what else I can do?

On Fri, 22 Sep 2006 21:25:40 +1000, "Pegasus \(MVP\)" <I.can@xxxxxxx> wrote:

You have to post the batch file you currently use if you
require any further comments.
See below.
You should also check the meaning of the /d switch. It
is most likely the reason why some files do not get
copied on your second attempt.
This shouldn't apply this time since all the folders are empty.
If you still believe that a single file failed to get copied
then you should post its full name and location.
These files are posted below with my Test bat file executing them.

Hi Pegasus,
Sorry, I guess I don't know enough about this. Although some files were copied none of the destination folders had the
correct amount of files or the size in them except Agent on the third try. See below.
I posted this bat file:
@echo off
xcopy /s /y /d /h "C:\test" "J:\test"
xcopy /s /y /d /h "C:\Cookies" "J:\test cookies"
xcopy /s /y /d /h "C:\favorites" "J:\test favorites"
xcopy /s /y /d /h "C:\Program Files\Agent\" "J:\test Agent"

After a lot of thinking I did get one right but don't know about the other three folders. I am stumped.

Here are the results:
c: test had 3328 files, 293 folders, 1.09 GB
j: test had 3328, 283 1.09 10 less folders

c: agent 192, 5 480 mb
j: test agent empty

SECOND try with out the extra \
xcopy /s /y /d /h "C:\Program Files\Agent" "J:\test Agent"
j: test agent 194 5 481 mb

c:favorites 160 9 54.5 kb
j test favorites 160 9 648 kb 593.5 kb more

c:cookies 120 0 115 kb
j:test cookies 120 0 556 kb 441 kb more

You should also check the meaning of the /d switch. It
is most likely the reason why some files do not get
copied on your second attempt.
That makes sense but It can't be that cause all these files should have been updated. The test folders on J: were empty
so they all should have been copied.

If you still believe that a single file failed to get copied
then you should post its full name and location.
According to my J:folder all the folders had some copied files in them except Agent which was empty
but the script said only 120 files were copied.

The second time I ran it the program seem to work except for the agent folder.
There is still files missing that didn't get copied the first or second time.

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

C:\Documents and Settings\HP_Administrator>test
0 File(s) copied
0 File(s) copied
0 File(s) copied
Invalid path
0 File(s) copied

this is the path from Explorer:
C:\Program Files\Agent
this is the path from my batch file:
C:\Program Files\Agent\

So I tried it again with out the extra \ and it worked.the extra files are because I received emails.


On Fri, 22 Sep 2006 21:25:40 +1000, "Pegasus \(MVP\)" <I.can@xxxxxxx> wrote:

You have to post the batch file you currently use if you
require any further comments.

You should also check the meaning of the /d switch. It
is most likely the reason why some files do not get
copied on your second attempt.

If you still believe that a single file failed to get copied
then you should post its full name and location.


"RScotti" <rscotti1@xxxxxxxxxxxxxxxxxx> wrote in message
news:a0b7h2t69dmku34alaumgdhv0ii9evb417@xxxxxxxxxx
Hi,
I can't understand how it can have an invalid path since I just put in the
command to copy and they are there.

There was a program in the old Norton Utilities called File Compare or
something like that. It would highlight the
different items in the two files you were looking at. Is there a way to
get that now or any other that will do the job?

I guess I go to bed now, I can't seem to get any more done.
I would really appreciate your help now.



Have a good day,
RScotti

remove "nospam" in order to email me.
.



Relevant Pages

  • Re: Need help setting up remote desktop.
    ... if your Web server is registered with the WINS server as ... Is there any particular reason you want to use the web based method? ... those folders, the way I can with the people who are on the home network ... however, as of this writing, I have not finished reading the instructions ...
    (microsoft.public.windowsxp.network_web)
  • Re: Which folders are shortcuts?
    ... XP sets up these folders for a reason.. ... for what appears to be multiple entries.. ... Some of the folders are 'system protected' and for good reason.. ... computer illiterates download stuff and don't know where its gone, ...
    (microsoft.public.windowsxp.basics)
  • Re: XP SP2
    ... On my system, it is there, but by some reason ... > whereby you would not be able to view contents of System folders. ... > On my pc's I have Windows Explorer set to be able to let me view ... > hidden files and folders. ...
    (microsoft.public.windowsupdate)
  • Re: Using VbScript For Add-On Log On Script
    ... the reason I don't want to use shortcuts is that I am trying do this for myself and about 10 other guys. ... I figure I can make a batch file and place it in the "P:\ or Public Drive" that will copy the vbscript file into their Startup folders. ... I would not be hindering EDS in any way as I wouldn't necessarily be deleting any of the EDS created drives. ... I figured that if I can manually rename the drives I should also be able to do it programmatically, via my own login script that I would put into the Startup Folder. ...
    (microsoft.public.windows.server.scripting)
  • Re: Outlook 2003 AutoArchive not working properly
    ... >| Others seem to be excluded for no reason at all - the Modified date is ... msgs is older than the current date minus 'older than' AA setting - in ... now AA correctly archives the folders! ...
    (microsoft.public.outlook)