Solved

32 bit DelTree option for Long File Names ?

Posted on 1998-10-30
6
382 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
Can’t get the mobile email signature right?

Not having any luck when trying to create an email signature for mobile devices? Does the formatting keep messing up? Make sure you have great email signatures on all devices by using Exclaimer Cloud - Signatures for Office 365.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Moving SharePoint 3.0 role to differen server 7 47
How to do advance search in Windows 2008? 11 38
Remoteing in to my computer ? 4 53
Doubt. 2 58
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

895 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

13 Experts available now in Live!

Get 1:1 Help Now