Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Name: madhubatch Date: July 30, 2009 at 23:49:28 Pacific
Reply:
thanks
0
Response Number 2
Name: Mechanix2Go Date: July 31, 2009 at 01:00:20 Pacific
Reply:
If you look around this forum you'll see that date math in batch is not a happy subject.
If you want to list dirs of previous month, maybe. If you want just those exactly one month old, probably hopeless.
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 3
Name: madhubatch Date: July 31, 2009 at 04:04:41 Pacific
Reply:
I want to remove the folders which are more than 1 month old
0
Response Number 4
Name: Razor2.3 Date: July 31, 2009 at 05:24:50 Pacific
Reply:
We're defining a month as . . . what, exactly?
0
Response Number 5
Name: Mechanix2Go Date: July 31, 2009 at 05:29:17 Pacific
Reply:
Hi R2,
As ever, first step is the problem statement.
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 6
Name: dtech10 Date: July 31, 2009 at 13:34:43 Pacific
Reply:
Hi Madhubatch
Post the output of this code and state wether your date format is dd/mm/yyyy or mm/dd/yyyy ect. I already have a batch file to delete files a certain number of days old which I will try modify to del directories.
for /d %%a in (*.*) do echo %%a %%~ta %%~fa %date%
Summary: Dear, I would like to list all of the email address in the TextBox1 from the DB. But the following program just show the first row of the data ("tony@aol.com"). How to make the TextBox1 showing like t...
Summary: How do you create a list of all the files on you computer using 'dir'? Please help! Note: I am not trying to list the files in a specified folder, but trying to list all the files (hundreds of thousan...
Summary: I have a folder which has sub folders and inside the sub folders has files. how do i get list of all the files present in subfolders also. I used dir > asd.txt but i just get the directory name and fi...