我在 CMD 文件中找到了这些,它有什么作用?
I found these in a CMD file, what does it do?
我在 CMD 文件中找到了这些,它有什么作用?
@echo off
if not "%~1"=="p" start /min cmd.exe /c %0 p&exit
start "" "GTAVLauncher.exe"
start "" "Launcher.exe"
timeout /t 120 /nobreak >nul
taskkill /f /im GTAVLauncher.exe
您可以自己阅读和学习:
echo
、if
、start
、cmd
、exit
、timeout
、taskkill
[=21] =]
%~1
、%0
在 Command Line arguments (Parameters)
&
, >
在 Redirection
我在 CMD 文件中找到了这些,它有什么作用?
@echo off
if not "%~1"=="p" start /min cmd.exe /c %0 p&exit
start "" "GTAVLauncher.exe"
start "" "Launcher.exe"
timeout /t 120 /nobreak >nul
taskkill /f /im GTAVLauncher.exe
您可以自己阅读和学习:
echo
、if
、start
、cmd
、exit
、timeout
、taskkill
[=21] =]%~1
、%0
在 Command Line arguments (Parameters)&
,>
在 Redirection