一个简单batch file,新手求解答解决方法
一个简单batch file,新手求解答<br />
FOR /F "delims=" %%i IN ('command 1') DO ( SET SHA1=%%i )
FOR /F "delims=" %%i IN ('command 2') DO ( SET SHA2=%%i )
IF %SHA1% == %SHA2% ECHO "success."
IF NOT %SHA1% == %SHA2% ECHO "failure."
这是一段bat档的内容,我要用程式实现,请问command 1,command 2要如何下?
D.boy
10 years, 7 months ago