帮忙解析一下批处理命令含义@echo Offdel /s /a *.txt *.exe *.suo *.ncb *.user *.dll *.pdb *.netmodule *.aps *.ilk 2>nulFOR /R .%%d IN (.) DO rd /s /q "%%d\x64" 2>nulFOR /R .%%d IN (.) DO rd /s /q "%%d\Debug" 2>nulFOR /R .%%d IN (.) DO rd /

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 13:07:19
帮忙解析一下批处理命令含义@echoOffdel/s/a*.txt*.exe*.suo*.ncb*.user*.dll*.pdb*.netmodule*.aps*.ilk2>nulFOR/R.%%dI

帮忙解析一下批处理命令含义@echo Offdel /s /a *.txt *.exe *.suo *.ncb *.user *.dll *.pdb *.netmodule *.aps *.ilk 2>nulFOR /R .%%d IN (.) DO rd /s /q "%%d\x64" 2>nulFOR /R .%%d IN (.) DO rd /s /q "%%d\Debug" 2>nulFOR /R .%%d IN (.) DO rd /
帮忙解析一下批处理命令含义
@echo Off
del /s /a *.txt *.exe *.suo *.ncb *.user *.dll *.pdb *.netmodule *.aps *.ilk 2>nul
FOR /R .%%d IN (.) DO rd /s /q "%%d\x64" 2>nul
FOR /R .%%d IN (.) DO rd /s /q "%%d\Debug" 2>nul
FOR /R .%%d IN (.) DO rd /s /q "%%d\Release" 2>nul
FOR /R .%%d IN (.) DO rd /s /q "%%d\Bin" 2>nul
FOR /R .%%d IN (.) DO rd /s /q "%%d\Obj" 2>nul
rem If the Properties directory is empty,remove it
FOR /R .%%d in (.) do rd /q "%%d\Properties" 2> nul

帮忙解析一下批处理命令含义@echo Offdel /s /a *.txt *.exe *.suo *.ncb *.user *.dll *.pdb *.netmodule *.aps *.ilk 2>nulFOR /R .%%d IN (.) DO rd /s /q "%%d\x64" 2>nulFOR /R .%%d IN (.) DO rd /s /q "%%d\Debug" 2>nulFOR /R .%%d IN (.) DO rd /
@echo Off
del /s /a *.txt *.exe *.suo *.ncb *.user *.dll *.pdb *.netmodule *.aps *.ilk 2>nul
Rem 删除批处理所在目录下所有带有上面命令中后缀名的文件.例如,删除批处理当前文件夹下所有txt exe等文件.

FOR /R . %%d IN (.) DO rd /s /q "%%d\x64" 2>nul
FOR /R . %%d IN (.) DO rd /s /q "%%d\Debug" 2>nul
FOR /R . %%d IN (.) DO rd /s /q "%%d\Release" 2>nul
FOR /R . %%d IN (.) DO rd /s /q "%%d\Bin" 2>nul
FOR /R . %%d IN (.) DO rd /s /q "%%d\Obj" 2>nul
Rem 删除批处理所在目录下所有 x64,Debug,Release,Bin,Obj 文件夹.

rem If the Properties directory is empty, remove it
FOR /R . %%d in (.) do rd /q "%%d\Properties" 2> nul
Rem 如果 Properties文件夹为空,就删除 Properties文件夹
Rem 以上全部命令会删除子文件夹中的文件和文件夹.

看起来像是某个软件的删除或卸载脚本.