|
-
May 6th, 2001, 04:05 AM
#1
Why is "deltree /y Windows\tempor~1" a 'bad command'?
When rebooting to DOS and command prompt only, I get "Bad command or file name" using
deltree()/y()Windows\tempor~1
where ()= space.
My older method yields the same results.
At C:\> (type)cd()windows (enter)
At windows prompt (type)
deltree()/y()tempor~1
deltree()/y()temp
deltree()/y()History
All enters give "bad command" result. Any clues to what is going wrong? Or an alternative method?
Thanks...carson
-
May 6th, 2001, 04:56 AM
#2
As I'm sure you're aware, we just did a long thread to describe how to delete all the Temporary Internet Files. It's this thread: http://discussions.virtualdr.com/For...ML/042078.html
The DOS commands you're using are identical to the ones I used to successfully delete all my Temporary Internet File. The only clue I have (admitedly a long shot) is found in the 23 and 24th submission on the thread referenced above where Goldust and Mosaic1 recognize that in Goldust's case there is an intermediate file between Windows and Temporary Internet. i.e. Windows\XXXXX\Temporary Internet Files. I'm not sure how Goldust got that arrangement; however, one would of coarse, have to include the extra file in the string to get the deltree entry to work.
Otherwise as I said earlier you commands look correct to me.
------------------
Larry
Seattle WA
Larry
Seattle WA
-
May 6th, 2001, 05:20 AM
#3
make sure deltree is in your command folder.
also you could try REN for renaming.
like renaming junk1 junk2 etc.
then you can delete junk folders in windows
TheGorx http://www.geocities.com/thegorx/Windows/index.htm
-
May 6th, 2001, 10:02 AM
#4
deltree.exe has to be on disk
and the path statement gotta include the directory it is in.
therefore; set path in autoexec.bat
set path=C:\;C:\windows\;C:\windows\command\;
or; write the full line including the path
C:\windows\command\deltree /y C:\windows\Windows\tempor~1
------------------
Remember, it's FREE advice. It may be worth all of two cents.
Jaak
Kind regards, Jaak.
When I pull my bootstraps, why don't I load Windows?
-
May 6th, 2001, 10:51 AM
#5
If you don't have an autoexec.bat like me, you can get around this by right clicking on your DOS shortcut select Properties | Program and down in the Batch line enter Jaak's line:
set path=C:\;C:\windows\;C:\windows\command\;
This seems to work for me.
------------------
Just trying to give others a friendly hand.
Just trying to give others a friendly hand.
-
May 6th, 2001, 10:54 AM
#6
I realize that this is not what you asked...
And, maybe it's just me...but if I travel to my TIF directory in Windows...and drill one down to Content IE5. Then "Select All" and "Delete"...everything in the 8 subfolders, Content IE5, and TIF ... goes bye bye.
Of course if this seems too easy, you can always use the "dir /a" in DOS to confirm that they are all gone...until you visit your next page.
-
May 6th, 2001, 02:26 PM
#7
I have found that you always need to start
the DOS command with eg
C:\Windows\Command\deltree.exe followed
by the parameters ..
regards
-
May 6th, 2001, 10:17 PM
#8
Thanks everyone
Mosaic 1...Correct. The "deltree.exe" File is missing. Also I dont have autoexec.bat It's unchecked and clear in "msconfig." (as advised from here last year)
So i need to restore the file from the win98 disk.
Question:
Restore from____________
Save File In____________
What are the paths for the above?
Dont know how it got missing , but thanks again for the info.
carson
[This message has been edited by carson (edited 05-06-2001).]
-
May 6th, 2001, 11:43 PM
#9
Hi carson...pop your Win98 CD in, then go to Start > Run, type SFC and OK it. Use SFC's extract one file option to place deltree.exe in C:\Windows\Command.
-
May 7th, 2001, 03:57 AM
#10
Thanks HKEd.
Yep, The Command Folder was missing along with deltree.exe. Also typing M:\windows98 in "restore from" didnt help. Re-read Mosaic1. Solution= M:\win98. 
Thanks again to everyone for the tips and instructions. All responses were enlightening.
A Success Story
[This message has been edited by carson (edited 05-07-2001).]
-
May 8th, 2001, 12:06 AM
#11
Thanks Mosaic1...Yes did a complete "SFC".
Couple Downloaded Program Files missing. I dont think they were of any concern. Probably from a deleted program. A few updated files from Zonealarm update. And a rpess.exe missing that I renamed according to instructions from the board. Everything else OK. Your help is always appreciated.
carson
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|