Re: MSDOS Batch File Question!



Replied to [Maxwell2006]s message :
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.

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

Any help would be appreciated,
Max





Can you use VBs [VBScript] or JS [JScript] ?


--
→ Ayush [ Good :-) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------
.



Relevant Pages

  • 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)
  • XP batch File, command line Zip, how?
    ... will, zip a folder using XP?s own ... Below is an example of my simple Batch file: ... @echo off ... copy TestSource\*.* TestDest ...
    (alt.os.windows-xp)
  • Re: script on xp comp
    ... tried creating this batch file ... drive at first to make sure it is connecting then created the netlogon batch ... > saving logon script. ...
    (microsoft.public.windowsxp.network_web)
  • Re: WinXP. Unable to map home drive. Maps to root of share only.
    ... The \0 folder does exist - I will try to explain further... ... test it would work like a dream - but that would mean the server having ... > Your question about my second batch file is justified. ... >> I don't quite understand the 2nd script because its mapping to the ...
    (microsoft.public.win2000.networking)