Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 460
  • Last Modified:

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?
0
lisdodde
Asked:
lisdodde
1 Solution
 
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
 
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
BlackManCommented:
What functions from DELTREE do you miss in my answer??
0
 
MaDdUCKCommented:
I had the same problem and I used the version of deltree.exe that's shipping with Windows 95.
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now