如何用bat批处理删除C:\Documents and Settings\All Users\Application Data\Autodesk\Software Licenses

来源:百度知道 编辑:UC知道 时间:2024/06/16 09:47:46
删除C:\Documents and Settings\All Users\Application Data\Autodesk\Software Licenses目录如何用批处理命令实现
另外检测这个目录是否存在用批处理命令怎么些??

删除此目录:
rd /s /q "C:\Documents and Settings\All Users\Application Data\Autodesk\Software Licenses"

如果存在此目录就删除它:(仅一行)
if exist "C:\Documents and Settings\All Users\Application Data\Autodesk\Software Licenses\" rd /s /q "C:\Documents and Settings\All Users\Application Data\Autodesk\Software Licenses"