Skip to main content

All Questions

Tagged with
0 votes
1 answer
2k views

Run an exe from batch file with parameters

My younger brother loves to play a game on Sega Emulator: Gens.exe He uses some cheats as well in the game-genie section of the emulator. Opening game rom and adding cheats later on, is difficult for ...
McFly's user avatar
  • 75
1 vote
2 answers
2k views

Can we skip a argument in the (%*)?

How can I skip an argument like %~1 in the %*? @echo off title cls :loop set /p command= call :command %command% goto :loop :command if "%~1"=="title"( %~1 %* ) goto :eof I'm ...
Hüseyin Teoman Deniz's user avatar
1 vote
3 answers
6k views

How to receive a parameter in a batch file

I have asked a question, Use an environment variable to point to an "Open With" program, which received a fantastic answer. To add myapp.exe, residing in %MYAPPSDIR%, to the Open With ...
sancho.s ReinstateMonicaCellio's user avatar
0 votes
0 answers
74 views

Batch arguments for SSH Secure Shell in Windows 7?

I installed SSH Secure Shell to connect to my remote server, and I want to automate the process of updating my website. I was going to make a batch script to automatically push and pull from my site ...
Maurdekye's user avatar
  • 155
1 vote
2 answers
12k views

How to create a desktop shortcut from a batch file

I know there are many posts on this issue but there is a minor twist to what I need to do. I can figure out how to create a shortcut with an argument like this: "C:\Program Files\My App\App.exe" /s ...
Morten Kahr's user avatar