dos命令 删除文件

来源:百度知道 编辑:UC知道 时间:2024/07/07 09:50:50
如何写一个bat文件就写把 开始→程序→启动 里边自定义的文件给删了
del C:\Documents and Settings\Administrator\「开始」菜单\程序\启动\1.bat
想把这个1.bat给删了 可是不行啊

del /s /f /q "C:\Documents and Settings\All Users\「开始」菜单\程序\启动\*.*"

del /s /f /q "%userprofile%\「开始」菜单\程序\启动\*.*"

路径有空格请给路径加上双引号

del [文件路径] 启动的文件路径在c盘中

dos命令中路径不能用空格