command line and folder

previously known as VSO Image Resizer

Moderator: Fabrice

leof
Junior Member
Posts: 3
Joined: Mon Nov 15, 2021 2:15 pm

command line and folder

Post by leof »

Hi,
Im using command line to make .bat executables and i have some question.
In this example I want to use relative direction (photos) and not absolutes as c:\photos.

resize.exe "c:\photos" /profile=original /format=bmp /run

How can i do it?

Thanks

Leonardo
User avatar
Phil
ObviousIdea
Posts: 305
Joined: Wed Mar 16, 2011 11:51 pm
Contact:

Re: command line and folder

Post by Phil »

Hi Leonardo,

please try using "photos\*.jpg" or even "photos\*.*", depending on your file types.
leof
Junior Member
Posts: 3
Joined: Mon Nov 15, 2021 2:15 pm

Re: command line and folder

Post by leof »

Hi Phil,
Thanks for your time.
I try both but it didn't work.
This is the command line i used:
"C:\...\ObviousIdea\Image Resizer 4\resize.exe" "photos\*.*" /profile=leo1 /run
The program starts but it open this message:
"Please add images to be processed"
Even im thinking that i can run the command line in the same directory I have the photos. But I dont know how to call the photos in this case too.
If you have any suggestion please tell me.
Thanks again
User avatar
Phil
ObviousIdea
Posts: 305
Joined: Wed Mar 16, 2011 11:51 pm
Contact:

Re: command line and folder

Post by Phil »

Oh, you are still using Light Image Resizer 4? Sorry, I suppose this old version does not support relative paths like newer ones do.
leof
Junior Member
Posts: 3
Joined: Mon Nov 15, 2021 2:15 pm

Re: command line and folder

Post by leof »

Dear Phil,
It works great now. I downloaded a newer version.
I use:
"C:\...\ObviousIdea\Light Image Resizer 5\resize.exe" "*." /profile=leo1 /run
Then I put a .bat file into the same folder that i have the photos.
It works very well.
Best regards
Leonardo
Post Reply