Forum Home
Press F1
 
Thread ID: 76936 2007-02-21 05:06:00 DOS Command Prompt Strommer (42) Press F1
Post ID Timestamp Content User
526709 2007-02-21 05:06:00 From Start>Programs>Accessories, I get the Command Prompt but it has C:\Documents and Settings\PC Company>

How do I return to C:\ :confused:

I have a list of DOS commands from googling but cannot see how to start with the basic C:\
Strommer (42)
526710 2007-02-21 05:12:00 cd c:\ Speedy Gonzales (78)
526711 2007-02-21 05:17:00 cd \ ("go to root of current disk") should do it. If you want to be long winded about it you could do cd .. ("go up one level") twice, or cd \..\.. ("go up one level then do it again", in one command).

All very simple and logical. :cool:
Graham L (2)
526712 2007-02-21 05:26:00 Thanks guys. I saw the "cd" command from the list but of course - you guessed it - thought it had to do with a CD player. Strommer (42)
526713 2007-02-21 05:31:00 "Change Directory", of course. And I made a bit of a typo in my third alternative form. :( cd ..\.. would be more likely to work. You can work out the syntax for yourself. :D But that's the beauty of DOS, you can always try again. :D Graham L (2)
526714 2007-02-21 08:21:00 with XP on, the Dos Prompt is no longer a "true DOS shell", but rather a dos emulator, so tho it will run a number of simple dos commands, there are a large numbers that it will not - making batch files etc much harder to achieve the result you want.
At least, thats my impression of it with my limited knowledge...
bevy121 (117)
526715 2007-02-21 08:29:00 with XP on, the Dos Prompt is no longer a "true DOS shell", but rather a dos emulator, so tho it will run a number of simple dos commands, there are a large numbers that it will not - making batch files etc much harder to achieve the result you want.
At least, thats my impression of it with my limited knowledge...
Thats it. many DOS commands arent around anymore
Dannz (1668)
526716 2007-02-21 19:45:00 with XP on, the Dos Prompt is no longer a "true DOS shell", but rather a dos emulator .

Its not even a DOS "emulator" . Its just a command line .

For typing commmands rather than clicking things .





I saw a classmate type deltree F: during a DOS exam once . F: being the network drive .

She only crashed her PC and then wondered why she lost marks for that exercise on her test .
(It should have been deltree f:\directory\Subdirectory)

(I'd taught the class deltree, teacher allowed it so long as we still knew the long way)
pctek (84)
526717 2007-02-21 23:55:00 Thanks for that info pctek, as I said

"thats my impression of it with my limited knowledge . . . "

Coincedentaly, I was just browsing
. infocellar . com/winxp/DOS-with-XP . htm" target="_blank">www . infocellar . com


Unlike Win95 and 98, Windows ME and XP does not first load an MS-DOS operating system, and then run Windows on top of it . Both WinME and WinXP run pure Windows code, without the DOS sublayer . However, so many people still use and rely on DOS, that Microsoft left the DOS emulator intact - they did, however, change it quite a bit .
All versions of Windows can start a "DOS Box" (DOS emulator) by simply running the command prompt . When a user runs a DOS session within Windows, they are "emulating DOS" . The older versions of Windows could even run older versions of MSDOS . XP will not run any of the older versions of MS-DOS, and cannot run command . com - but it does have it's own version of emulated DOS, which uses the same type of base-operating system .



deltree has always been an extremely useful DOS-based utility . Unfortunately it was not included with WinXP
bevy121 (117)
526718 2007-02-22 00:05:00 Er..... XP does in fact run command.com

The command.com that is included with XP is the version from Win ME, it is in C:\windows\system32.

A shortcut can be made to that if you want, it will start an MS-DOS prompt rather than a 'command line' prompt using cmd.exe

Command.com can be used for (the somewhat rare) situations when you want to run a 16 bit MS-DOS program.
Terry Porritt (14)
1 2 3