Search found 6 matches

by OM2
25 Sep 2013 14:13
Forum: DOS Batch Forum
Topic: Need help batch processing a command
Replies: 9
Views: 5096

Re: Need help batch processing a command

antonio: you are awesome!
thanks
by OM2
25 Sep 2013 05:14
Forum: DOS Batch Forum
Topic: Does @echo off speed up processing?
Replies: 1
Views: 1868

Does @echo off speed up processing?

If I have @echo off, does this speed up the processing of commands?

ALSO... if I wanted the output printed to a log file - so I could look at later to see if there were any errors, how do I do this?

Thanks


OM
by OM2
24 Sep 2013 16:29
Forum: DOS Batch Forum
Topic: Need help batch processing a command
Replies: 9
Views: 5096

Re: Need help batch processing a command

@foxidrive, thanks for that - really helpful - the commands i'm using, allow for using the same filename if i did want to replace the same filename, how best would i do that? i've tried combining both my scripts into one... not having much luck this is what i'm doing: @echo off for /f "delims=&...
by OM2
23 Sep 2013 19:20
Forum: DOS Batch Forum
Topic: Need help batch processing a command
Replies: 9
Views: 5096

Re: Need help batch processing a command

guys, thanks for both replies @Aacini: big thanks for the quotes mention... i just wasted 60 min trying to figure out why my script which previously worked didn't now work in the end i figred out it was to do with having spaces in the path but then i was scratching my head think how and where to put...
by OM2
23 Sep 2013 12:04
Forum: DOS Batch Forum
Topic: Need help batch processing a command
Replies: 9
Views: 5096

Re: Need help batch processing a command

awesome! i think i have a working script now let me know if there's anything to improve upon: @echo off for /f "delims=" %%a in (' dir *.jpg /s /b /a-d ') do convert -brightness-contrast 15x15 %%a %%a "delims=" - what's this for? the definition doesn't make sense to me: "del...
by OM2
23 Sep 2013 02:55
Forum: DOS Batch Forum
Topic: Need help batch processing a command
Replies: 9
Views: 5096

Need help batch processing a command

I have this command: convert -brightness-contrast 15x15 abc.jpg abc.jpg This changes the image abc.jpg and replaces it with the same image 1. I want to go through a directory and apply the change to all files that are .jpg 2. I want to recursively go through sub directories and do the same I'm not s...