Search found 2 matches

by jonathanjohnson100
04 May 2014 19:59
Forum: DOS Batch Forum
Topic: Trouble registering a variable
Replies: 2
Views: 3851

Trouble registering a variable

I want to get the width and height from imagemagick I'm having trouble doing this I have this: set /a w=`identify -format "%w" bmw.png` I got this in an example I got googling I've tried without the backtick characters as well I get an operator missing error I just wanted to check if I was...
by jonathanjohnson100
04 May 2014 18:18
Forum: DOS Batch Forum
Topic: Need comments on my first ever DOS script program
Replies: 6
Views: 5641

Need comments on my first ever DOS script program

Took me about 2 hours to write some DOS code I want to rename all jpg images to the same name as the parent directory (with a number added at the end) I wanted comments on my code and whether it is optimal without any bugs? This is what I have: setlocal EnableDelayedExpansion REM Get just the name o...