Search found 5 matches

by Graffic
19 May 2010 16:18
Forum: DOS Batch Forum
Topic: Need help with variable substitutions and FOR loop
Replies: 5
Views: 6329

Re: Need help with variable substitutions and FOR loop

Please bear with me as I'll need a good bit of hand-holding.. You're referring to the new FOR loop which would enclose the code in STEP 03 and also account for random # of files being processed, right? Forgive me but I don't understand the code you've posted. :(

graf
by Graffic
19 May 2010 16:02
Forum: DOS Batch Forum
Topic: Help with long filenames in batch loop
Replies: 6
Views: 9254

Re: Help with long filenames in batch loop

Hmm.. sorry. :(

And yeah, you're right.. it's been a long time since I've used command line zip, hehehe.

graf
by Graffic
19 May 2010 15:33
Forum: DOS Batch Forum
Topic: Help with long filenames in batch loop
Replies: 6
Views: 9254

Re: Help with long filenames in batch loop

I'm a total noob (in fact I just made my first post and it's also a question) but I think this will do what you need it to do, or at least get you going in the right direction: for %%a in ("weekly*.*") do zip "%%a" "%%~na.zip" Part of the problem is that the last two ar...