SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Computer Learning -- Ignore unavailable to you. Want to Upgrade?


To: dpl who wrote (7889)1/18/2000 10:15:00 PM
From: PMS Witch  Read Replies (1) | Respond to of 110614
 
Deltree tempor~1 --- Sounds like a Latin motto ...

The DELTREE command can DELete an entire directory TREE, or just prune it a bit. It removes the files and the folder, along with the files and sub-folders in the given path. Your example would delete the contents of the folder tempor~1, and the contents of any sub-folders in tempor~1 too. (Usually this particular branch is both 'bushy' and 'leafy' too.)

Note: The command as given would cause your system to ask for confirmation before proceeding. You'd type a 'Y' or a 'N' in response. You can discover the complete command combinations available by typing DELTREE /? for help.

TEMPOR~1 is your folder to store "Temporary Internet Files", and you'll find the results of DOS DIR command match what's shown by Windows' Explorer.

DOS can only handle eight character file names. Windows lets us use file names much longer. Microsoft has a system to do this when a long file name is found: First remove the spaces; make all letters capitals; truncate the name to six letters; append a squiggle (~); append a one (1); check for matching (short) file names; replace the one with a two (2) for the next match until nine files are found; truncate to five characters and add two digit numbers after the squiggle; repeat process until all file names are converted.

You could also put the file name(s) in quotes, giving:

DELTREE "Temporary Internet Files"

In this case DOS would use the Windows name. (A DOS window recognizes Windows' naming. Neat!)

Cheers, PW.