帮忙解析一下批处理命令含义@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/08/27 22:00:11
![帮忙解析一下批处理命令含义@echo Offdel /s /a *.txt *.exe *.suo *.ncb *.user *.dll *.pdb *.netmodule *.aps *.ilk 2>nulFOR /R .%%d IN (.) DO rd /s /q](/uploads/image/z/7929723-3-3.jpg?t=%E5%B8%AE%E5%BF%99%E8%A7%A3%E6%9E%90%E4%B8%80%E4%B8%8B%E6%89%B9%E5%A4%84%E7%90%86%E5%91%BD%E4%BB%A4%E5%90%AB%E4%B9%89%40echo+Offdel+%2Fs+%2Fa+%2A.txt+%2A.exe+%2A.suo+%2A.ncb+%2A.user+%2A.dll+%2A.pdb+%2A.netmodule+%2A.aps+%2A.ilk+2%3EnulFOR+%2FR+.%25%25d+IN+%28.%29+DO+rd+%2Fs+%2Fq+%22%25%25d%5Cx64%22+2%3EnulFOR+%2FR+.%25%25d+IN+%28.%29+DO+rd+%2Fs+%2Fq+%22%25%25d%5CDebug%22+2%3EnulFOR+%2FR+.%25%25d+IN+%28.%29+DO+rd+%2F)
帮忙解析一下批处理命令含义@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 以上全部命令会删除子文件夹中的文件和文件夹.
看起来像是某个软件的删除或卸载脚本.