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.
Batch file to check a directory is
Name: trusp Date: December 5, 2008 at 04:34:18 Pacific OS: MS Windows XP CPU/Ram: Intel DUO Product: Ms / E6550
Comment:
Hello, I need a batch file to list all directories which are 30days old in a specified path.
Example C:\Sample\
Here all the directories which are 30days old from the modified date must be listed.
Name: Mechanix2Go Date: December 5, 2008 at 09:58:10 Pacific
Reply:
No joy with date math.
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 2
Name: Wahine Date: December 5, 2008 at 14:04:43 Pacific
Reply:
Do you want a list of folders which were modified exactly 30 days before today's date or do you want the list to include all folders which were modified > 29 days ago?
Need the format of your date (%date%)
0
Response Number 3
Name: trusp Date: December 5, 2008 at 20:19:52 Pacific
Reply:
thanks for your response.
I need All folders which are > 29 days ago? I not have any specific date format.
Just I need a batch file to list all the folders which are >=30 days old (From the date of modification.)
batch file must be a DOS based one. Please help me asap.
0
Response Number 4
Name: Mechanix2Go Date: December 5, 2008 at 21:31:25 Pacific
Reply:
"I not have any specific date format."
LOL
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 5
Name: trusp Date: December 5, 2008 at 21:41:46 Pacific
Reply:
My complete requirement is: To run a DOS based batch file passing a directory path as argument and it must respond all the folders in the root directory which are 30days old.
Summary: Hi.. I am creating a batch file to replace a word in all the text files in a directory. File Example:- FILE 1:- "ISA*00* *00* *ZZ*ABCDEFGHI *ZZ*ABCDEFG " FILE 2:- "ISA*...
Summary: I am trying to create a batch file to kill a process only if it is running. I found a pskill tool from windows xp tool site but when I put it in the batch file and scheduled the task, a black window ...
Summary: I need to place a shortcut on everyone's PC in the office to a program we're running on the server ... so I need them all to get a shorcut to the executable. I want to create a batch file that creates...