Solved

32 bit DelTree option for Long File Names ?

Posted on 1998-10-30
6
363 Views
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?
0
Comment
Question by:lisdodde
6 Comments
 

Author Comment

by:lisdodde
ID: 1794182
Edited text of question
0
 
LVL 7

Expert Comment

by:BlackMan
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

0
 

Author Comment

by:lisdodde
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
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 7

Expert Comment

by:BlackMan
ID: 1794185
What functions from DELTREE do you miss in my answer??
0
 
LVL 8

Accepted Solution

by:
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.
0
 
LVL 1

Expert Comment

by:shrif
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>

0

Featured Post

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now