从批处理文件中删除文件夹 [英] Delete folder from batch file

查看:74
本文介绍了从批处理文件中删除文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
有人可以帮我找到删除文件夹的命令吗?
文件夹位置为%userprofile%\ AppData \ LocalLow \ Dictionary.

因此,我想使用批处理文件从计算机上所有现有的用户中删除Dictionary文件夹.

在此先感谢您

HI All,
Can anybody help me in finding the command to delete folder (having files inside).
Folder location is %userprofile%\AppData\LocalLow\Dictionary .

So i want to delete the Dictionary folder from all the existing users on the machine using batch file.

Thanking you in advance

推荐答案

以下内容:

MS-DOS 5.0及更高版本
Windows 95
Windows 98
Windows ME
Windows NT

您需要删除树deltree"命令.

http://www.computerhope.com/deltree.htm [
http://www.computerhope.com/rmdirhlp.htm [
For the following:

MS-DOS 5.0 and above
Windows 95
Windows 98
Windows ME
Windows NT

You need the Delete Tree deltree command.

http://www.computerhope.com/deltree.htm[^]

For never versions of windows you need the Remove Directory rmdir command with the /s option.

http://www.computerhope.com/rmdirhlp.htm[^]


这篇关于从批处理文件中删除文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆