On 8/20/2004 7:03:00 PM, Abdallah Elassaad wrote:
>I have a folder that
>constantly getting new
>subfolders (batch process)
>added. These subfolders get
>created with today's date i.e.
>040820, 040821, etc. I would
>like to keep the last 7 days
>of subfolders and delete the
>rest. Is there any way I can
>do this really quick in Vedit.
>
>Thanks
>
>Abdallah
I am sure this could be done, with the Vedit dir and dir_date commands, but it would be much easier to use a file manager (I use ZTreeWin).
Even easier would be to create a Windows command script using:-
for /D {%% | %}variable in (set) do command [CommandLineOptions]
%~tI Expands %I to the date and time of file
check the Windows help "for"
|
|