Re: MSDOS Batch File Question!




"Maxwell2006" <alanalan@xxxxxxxxxxxxxxxx> wrote in message
news:u5VzrsFOHHA.4928@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I am trying to write a batch file to delete all files older than one hour
within a folder.

Because of some restriction, I cannot use any 3rd party tool to do that.

What would be the most efficient MSDOS batch file to that?

Any help would be appreciated,

Max

Are these files in the one single folder or are they all over the
place?

BTW, MSDOS is an operating system. It got retired many years
ago. I suspect you're talking about the Command Prompt under
Windows XP.


.



Relevant Pages

  • Re: Batch file help
    ... The rest of your batch file makes no sense - you're ... to specify the desired source and target folder. ... and then copy those files over to the nas using windows file sharing. ... How would I chop the file extension off ...
    (microsoft.public.windowsxp.general)
  • Re: Effects gone
    ... Or try copying the DLL's from your i386 directory overwriting the ones currently in the /Movie Maker folder. ... www.rehanfx.org - get transitions and effects for Windows Movie Maker ... I tried running the batch file, but that didn't solve the problem. ... > The Dll's with the * beside them did not register properly. ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: File names in blue and black
    ... XP is if you're dual booting with an old version of Windows or with MS-DOS. ... it except they claim it works with XP on FAT32. ... I believe your folder picture idea is best way for me to go. ... Maybe one could write a batch file to 'edit' or 'hide' a particular folder ...
    (microsoft.public.windowsxp.general)
  • Re: Duplicating Files
    ... Here is a brief explanation of each line of code: ... In this line you tell the program where the parent folder resides. ... This line ends the main part of the batch file. ...
    (microsoft.public.windowsxp.general)
  • Re: USB drive problem
    ... Once per month I update the files using a batch file ... using this context for the copy command: ... that folder. ... The first problem I see is that there is no U or S switch for COPY. ...
    (alt.comp.hardware.pc-homebuilt)