32 bit DelTree option for Long File Names ?

Posted on 1998-10-30
Last Modified: 2013-12-28
I have made some scripts to delete and refresh a batch of directories with new data. I use the old DOS command Deltree.exe. Deltree does not cope with long file names. I cannot use the 8.3 DOS name within my scripts. After 4 same names WinNT creates a 8.3 DOS name at random.
Does anybody know a 32 bit substitute for DELTREE.EXE which can use long file names?
Question by:lisdodde

Author Comment

ID: 1794182
Edited text of question

Expert Comment

ID: 1794183
If you want to delete a single file in a directory structure, just use DEL <file> /S
If you want to remove a complete directory structure, use RD <dir> /S


Author Comment

ID: 1794184
The answer is about standard MS DOS commands DEL and RD.
I am looking for a command that has both in one -> DELTREE but that can handle long file names
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.


Expert Comment

ID: 1794185
What functions from DELTREE do you miss in my answer??

Accepted Solution

MaDdUCK earned 50 total points
ID: 1794186
I had the same problem and I used the version of deltree.exe that's shipping with Windows 95.

Expert Comment

ID: 1794187
BlackMan is right.  I used to use DelTree under NT4 all the time, but got tired of the fact that it was a 16-bit app, and thus kept changing my prompt.  So I now I use the built-in NT command:

RMDIR /S <dir>


Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question