简体   繁体   中英

Batch file “start” command and parameters

Right now I have a batch file launching a shortcut which works fine, but i want to directly launch the program with the parameters from the batch file rather than it firing up a shortcut.

The shortcut contains this:

"C:\Program Files\Rainmeter\Rainmeter.exe" !LoadLayout "White"

I don't know how to add the parameters using the start command.

Right now this is what the batch file looks like:

@echo off
start "" /b "C:\Users\Doss\Documents\Rainmeter\White Layout.lnk"

除非发生异常情况,否则应该可以很好地工作:

start "" "C:\Program Files\Rainmeter\Rainmeter.exe" !LoadLayout "White"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM