Search found 7 matches

by Vikky_Vik
28 Dec 2011 06:24
Forum: DOS Batch Forum
Topic: delete 2 days older folders
Replies: 18
Views: 23220

Re: delete 2 days older folders

Hi aGerman,

Thanks a lot for your help.
Your script is working absolutely fine for me.
I really appreciate your help.

Best Regards,
Vikky_Vik

-----------------

Hi squashman,

Thanks a lot for your help also. I really appreciate your help also.

Best Regards,
Vikky_Vik
by Vikky_Vik
27 Dec 2011 13:53
Forum: DOS Batch Forum
Topic: delete 2 days older folders
Replies: 18
Views: 23220

Re: delete 2 days older folders

Thankyou squashman,

I will go through your script and let you knoe the feedback.

Regards,
Vikky_Vik
by Vikky_Vik
27 Dec 2011 13:27
Forum: DOS Batch Forum
Topic: delete 2 days older folders
Replies: 18
Views: 23220

Re: delete 2 days older folders

Hi aGerman, Thanks a lot for your help. I will go through this script and let you know the feedback. I want to confirm one thing , isn't there short script to do same? Because the one who assign me this task said that it is not a big task, script is of 10-15 rows only. I am not sure if had already a...
by Vikky_Vik
27 Dec 2011 12:26
Forum: DOS Batch Forum
Topic: delete 2 days older folders
Replies: 18
Views: 23220

Re: delete 2 days older folders

Hi aGerman, Here is the output you are asking. C:\Users\Vikky_Vik>echo %date% Tue 12/27/2011 C:\Users\Vikky_Vik> Please let me know if you need more information. And aGerman , i did not understand your 1st point exactly. Please explain me if i need to run some query or something else. Regards,
by Vikky_Vik
27 Dec 2011 10:55
Forum: DOS Batch Forum
Topic: delete 2 days older folders
Replies: 18
Views: 23220

Re: delete 2 days older folders

Thanks a lot for replying..

@ squashman-
For 1st January, folder name will be 01-01 .

And squashman, that is what my script also doing, it is also keeping the two latest folders. But i want to keep other folders also which are not of month-date format.

Regards,
by Vikky_Vik
27 Dec 2011 10:51
Forum: DOS Batch Forum
Topic: delete 2 days older folders
Replies: 18
Views: 23220

Re: delete 2 days older folders

Thanks a lot for replying,

-2 digit in case of jan, and 4 digit for year. Date format is - Tue 12/27/2011
-For 1st January, folder name will be 01-01 .

regards,
by Vikky_Vik
27 Dec 2011 05:00
Forum: DOS Batch Forum
Topic: delete 2 days older folders
Replies: 18
Views: 23220

delete 2 days older folders

My Requirement is- I want to delete 2 days old folders and only those folder which are of format “month-date” i.e. “12-27” for today(27th Dec). I want to also keep other folders which are not of date format. E.g. XYZ, ABC, etc.. Below is my script by which I can delete 2 days old folders, but it is ...