• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Exit to MS DOS

 
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!!
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The "command prompt" brings up a window with DOS in it.
 
Barry Andrews
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks folks! I appreciate the input!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Windows NT does not have a DOS underpinning, so there is no way to "Exit to DOS" in any NT-based version of Windows (from the original NT 3.1 all the way to 11). Those instructions refer specifically to DOS-based versions of Windows such as 3.1, 9x, and ME.
 
Marshal
Posts: 79781
382
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

Cindy Glass said more or less the same, but that was 21 years ago. Don't hold your breath waiting for a reply.
 
Saloon Keeper
Posts: 28207
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, Windows 9x and ME were not DOS-based. I'm not even sure about 3.x anymore.

When you launched CMD.COM under Windows 9x and later, what you actually did was spawn a DOS Virtual Machine, one per DOS window.

Ironically, these VMs were pre-emptively dispatched, even though the GUI apps in Windows were only co-cooperatively multi-tasked.
 
Sheriff
Posts: 22808
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Windows 3.11 was started from MS DOS, and you could indeed exit to MS DOS again.

If I recall correctly, Windows 9x was also started from MS DOS, or otherwise something that very, very closely resembles it. I remember working with autoexec.bat files in Windows 9x and seeing it do its stuff in an MS DOS like screen before (or perhaps while) Windows started.
 
Tim Holloway
Saloon Keeper
Posts: 28207
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Spoor wrote:Windows 3.11 was started from MS DOS, and you could indeed exit to MS DOS again.

If I recall correctly, Windows 9x was also started from MS DOS, or otherwise something that very, very closely resembles it. I remember working with autoexec.bat files in Windows 9x and seeing it do its stuff in an MS DOS like screen before (or perhaps while) Windows started.



Sounds like what I remember. However, once Windows was running, the CMD shells within Windows were in fact VMs, distinct from the DOS instance that launched Windows.
 
Hang a left on main. Then read this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic