32 bit DelTree option for Long File Names ?

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?
lisdoddeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
MaDdUCKConnect With a Mentor Commented:
I had the same problem and I used the version of deltree.exe that's shipping with Windows 95.
0
 
lisdoddeAuthor Commented:
Edited text of question
0
 
BlackManCommented:
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

0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
lisdoddeAuthor Commented:
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
0
 
BlackManCommented:
What functions from DELTREE do you miss in my answer??
0
 
shrifCommented:
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>

0
All Courses

From novice to tech pro — start learning today.