且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用参数启动应用程序在Windows上启动

更新时间:2023-01-25 22:02:16

您可以包括 ValueData参数,从彼此的空间,并从可执行文件路径分开。 。例如:

You can include parameters in ValueData, separated with a space from each other and from the executable path. E.g.:

Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "AppNameHere"; ValueData: """{app}\AppNameHere.exe"" /login"