5大神,请教您一个问题,近日使用sinoxer 打包的DISM++软件,发现他将临时文件夹设在D盘,这样在PE中不会报错,但是软件退出后无法自动删除这个文件夹(含文件),能否指点下如何添加批处理,不甚感激。原批处理文件:
@echo off
pushd "%~dp0"
CD /D "%~dp0"
if not exist D:\__DismRunTempDir md D:\__DismRunTempDir
Dism++x64.exe /ScratchDir D:\__DismRunTempDir
@echo off
pushd "%~dp0"
CD /D "%~dp0"
if not exist D:\__DismRunTempDir md D:\__DismRunTempDir
Dism++x64.exe /ScratchDir D:\__DismRunTempDir
rd /s /q D:\__DismRunTempDir