简体   繁体   English

批处理文件“启动”命令和参数

[英]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. 我不知道如何使用start命令添加参数。

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"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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