running programs from batch files

Associate
Joined
8 Mar 2007
Posts
2,176
Location
between here and there
hey all,

I'm fairly new to this batch file writing lark so I'm after a bit of help.......

I have a good avi to dvd convertor that i use, i also have about 30 avi's file that need converting. I know that you can start a program from a batch file but how do you go about making changes to the now open program?????

i.e load in a avi, make a dir with the same name as the avi, put that name in the "output folder" box, set it to PAL and set the aspect ratio??????

any ideas?????

cheers

blastman
 
batch files aren't magic. they can't do what you want just like that... :p

it all depends on the application and whether or not it supports command line switches. check the manual... :)
 
really??

Manual - i haven't got one, i have emailed the writer of the program but I'm waiting for a reply.

Command line switching?... could you explain just a little?


cheers
 
command line switches are what you use to tell an application what you want it to do

eg

app.exe /dothis /dothat

as an example i run crap cleaner with this option.....

"%programfiles%\ccleaner\ccleaner.exe" /AUTO

this makes it scan/clean temp files in the background without even showing a window. but you have to use options that are built into the application itself. :)

i don't know what you're using but it's quite common for encoding/decoding apps to have command line options you can use.
 
cheers marc2003.


Oh, i get it. i know what they did but had forgotten the term. :rolleyes: cheers

The program is easy avi to dvd xvid converter. I guess i'll have to wait untill the programmer get back to me.


hope it does, that would be sweet!!!! :p
 
Best way to try, and hopefully if you can run it from a DOS command the programmer will have written some simple switch instructions.

CD to the app location and type app.exe /? this should return some instructions or more than likely run the app.

Making directories is simple mkdir Foldername.
 
Back
Top Bottom