Search found 3 matches

by alo
15 Jul 2009 15:31
Forum: DOS Batch Forum
Topic: checking consecutive dates
Replies: 2
Views: 4892

checking consecutive dates

ok here's an interesting problem that i have an idea on how to solve but wanted to get some expert advice so i'll post it here... i have a folder with 0 to thousands of subfolders where all the subfolders are exactly 10 characters long named YYYY-MM-DD (on the day it was created) i'm trying to make ...
by alo
15 Jul 2009 11:12
Forum: DOS Batch Forum
Topic: Getting the name of the folder that the .bat is running from
Replies: 2
Views: 4592

thanks avery_larry i gave up on the one-liner approach and decided that looping was the only way your solution is better than what i ended up with - i had learned how to make a "for /d" loop but since it required a wildcard there was a chance it would get more than just the %~dp0 directory
by alo
14 Jul 2009 13:39
Forum: DOS Batch Forum
Topic: Getting the name of the folder that the .bat is running from
Replies: 2
Views: 4592

Getting the name of the folder that the .bat is running from

I've read through many of the samples on this site and I must say very nice work. I sort of like trying to do things in dos not because it is the easiest but because it is like solving a puzzle. Anyway I've experimented with my current puzzle long enough and it's time to ask all you smart people out...