您现在的位置:龙卷风首页 ›› 办公室援助 ›› 阅读文章

Deltree in Windows XP

windows xp deltree命令

If you are like me and sometimes still use the command line to delete stuff and you miss the deltree command here is a batch file which does the same.

Save the contents in your %WINDOWS% directory and name it as deltree.bat

@echo off

del /s %1

rd /s %1

You can also use del /s /y if you do not want the prompt, but that could be a little dangerous.

The other problem I seem to face nearly everyday is the LS command. Since there is no inbuild LS in Windows XP here is a simple LS for windows.

@echo off

dir %1

These are batch files I use normally and I know its not something out of the world but it makes things simpler for me. So I thought I would share it.

来源:http://blog.vivekjishtu.com/2006/02/deltree-in-windows-xp.html

作者 不见不散 本文仅代表作者观点,与龙卷风资讯网立场无关。

我来说两句

内容/Content