Windows 在文件快捷方式中执行2个命令
我正在使用Windows7专业版 我已经为程序自动生成了文件快捷方式 每次启动程序之前,我都需要删除一个文件夹 我可以在不创建.bat文件的情况下将其自动化吗?e、 g.在快捷方式属性中使用此命令Windows 在文件快捷方式中执行2个命令,windows,cmd,shortcut,Windows,Cmd,Shortcut,我正在使用Windows7专业版 我已经为程序自动生成了文件快捷方式 每次启动程序之前,我都需要删除一个文件夹 我可以在不创建.bat文件的情况下将其自动化吗?e、 g.在快捷方式属性中使用此命令del\directory\path\*/g“C:\Program Files(x86)\Program.exe” 是的,您可以这样做: C:\Windows\System32\cmd.exe /C "del \directory\path\* /Q & "C:\Program Files (x
del\directory\path\*/g“C:\Program Files(x86)\Program.exe”
是的,您可以这样做:
C:\Windows\System32\cmd.exe /C "del \directory\path\* /Q & "C:\Program Files (x86)\program.exe"
&
符号告诉shell按顺序运行多个命令