DIGIT-ARC read-only archive · snapshot: July 23, 2026

Batch file help

11 posts · originally from https://geek.digit.in/community/threads/batch-file-help.169645/

death_syndicate
death_syndicate Original post #1
Jan 31, 2013 at 9:14 PM
how will i have to create a batch file, that can open programs along with their command line parameters?

I need to start just cause 2 with the parameters -/frameratecap=30 -/dxadapter
v.Na5h
v.Na5h #2
Feb 1, 2013 at 12:46 AM
"C:\path\xxx.exe" -/frameratecap=30 -/dxadapter
death_syndicate
Feb 1, 2013 at 10:51 AM
no it doesn't work. the game just ignores the parameters provided
Harsh Pranami
Feb 1, 2013 at 11:04 AM
how will i have to create a batch file, that can open programs along with their command line parameters?

I need to start just cause 2 with the parameters -/frameratecap=30 -/dxadapter

Right click on just cause 2 shortcut<<Properties. In the target box add " -/frameratecap=30 -/dxadapter" (without double quotes).
Then click ok. If the game fails to apply these settings then it is possible that the game doesn't support these parameters or the files required to apply these parameters are missing. I tried playing AC3 in dx10 mode using -dx10 but it didn't work. Even though dx10 was supported
death_syndicate
Feb 22, 2013 at 9:14 AM
The game just works fine when the parameters are added to the shortcut directly. But forcing them through a batch file doesn't help. I am using it to start d3d overrider to force tripple buffering for better performance.
W
Feb 22, 2013 at 11:54 AM
right click on batch file & select run as administrator.
Desmond
Desmond #8
Feb 28, 2013 at 3:22 PM
Are you sure that those arguments are supported? It could be possible that those might be for a newer version of the game (patch) and that those are not yet supported on the older (unpatched) version.

If possible, give a link for the page where you got the info about these arguments.
death_syndicate
Mar 4, 2013 at 8:25 PM
hey, I mentioned those work outside the batch file. So the option of unpatched version is ruled out.

U can have these links
mini tweak guide jc2

commandline parameters or arguments
I
irfanp61 #10
Mar 7, 2013 at 2:06 PM
If you wanna create a batch file, type all your commands in order in a text file using notepad or notepad++. After,that rename its extension to ".bat" Now run that file using 'RUN AS ADMINISTRATOR' or run normally. .
death_syndicate
Mar 29, 2013 at 10:39 PM
guys that doesn't help. Anyways solved my just cause 2 low frame rate problem with nvidia inspector. Ah i hat optimus. Dont know how much much good it does but it really irritates.