*
The moose likes Java in General and the fly likes Exit to MS DOS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Exit to MS DOS" Watch "Exit to MS DOS" New topic
Author

Exit to MS DOS

Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Sorry, I know this is not a Java question. Can someone please tell me how to exit to MS DOS from NT? I know I have the command prompt, but I would like to be able to just use DOS. I could do this under Windows 98. Thanks!!!
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
The "command prompt" brings up a window with DOS in it.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Cindy,
Yes I know the command prompt is DOS, but I want to totally exit out of Windows and only use DOS. Do you know of a way? Thanks!
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Can't do it. In theory DOS is not a part of NT anymore (of course we all know this is marketing . . .).
What is wrong with just maximizing the DOS window??? What is your intended result, maybe we can figure out another way to get it done.
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Cindy,
I have a lot of .tmp files I want to get rid of. (over 30 Mb) I read from an article in PC Magazine Online that you should never delete these files while Windows is running because it can actually cause Windows to crash, so therefore I need to totally exit Windows to do this safely. Here is the article if you want to read: http://www.zdnet.com/pcmag/issues/1507/pcmg0098.htm
Thanks!

Barry
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Well, I use NT and delete my temp files from Explorer all the time. Please notice that the article that you are refering to is from 4-9-96, and at that time NT was not widely used. I expect this article only refers to Win3.1, and Win95.
From the instructions in NT Help:
To search for and remove temporary files
1In My Computer or Windows NT Explorer, click the volume you want to search.
2Look for folders that contain temporary files. Folders named Temp or Tmp typically contain temporary files. Click the folder to open it.
3Select the file(s) contained in the temporary folder and then press DELETE.
If that's what Microsoft suggests it's OK with me
Matthew Jones
Ranch Hand

Joined: Dec 21, 2000
Posts: 68
If Windows is using a temp file that you are trying to delete, it will give you errors and wont' let you delete it.
I have never had a problem with Windows crashing when deleting temp files, and I work on a helpdeskt, and have people do it on a weekly if not daily basis.
Peter Tran
Bartender

Joined: Jan 02, 2001
Posts: 783
Barry,
Back up any important files. Delete the temp files, and if the OS crashes, then reinstall it. I regularly reinstall Windows OS to clean things up. The system usually runs a lot faster after a clean reinstall, but be ready to spend quality time reinstalling the OS and your app. :-)
-Peter
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Thanks folks! I appreciate the input!
 
wood burning stoves
 
subject: Exit to MS DOS