Hi. This is a total noob question, but plz help me.
I have a batch file that does some video processing when you drag a file onto it.
How can i get it to set differente value for certain files i drag? For example
If input file is 1.avi then SOMEVALUE=500. I've tried if %1=1.avi then... But it gives me an error.
Oh yeah, and another thing. Earlier i could just tupe shutdown.exe in my scripts and my computer would shutdown. Now i have to type the whole path win\system32\shutdown.exe because my batch script start in the folder they are residing.
Values dependant of input file name
Moderator: DosItHelp
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa