IntelliJ Java IDE
The moose likes General Computing and the fly likes URGENT!!!.. MS-DOS prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » General Computing
Reply Bookmark "URGENT!!!.. MS-DOS prompt" Watch "URGENT!!!.. MS-DOS prompt" New topic
Author

URGENT!!!.. MS-DOS prompt

hepzi balasing
Greenhorn

Joined: Jul 30, 2003
Posts: 1
Hi,
I am trying to study n my own for the certification. I bought a computer recently... I do not see any MS-DOS prompt in my system to try my programs... please help me find it... I have a windows XP home edition...
Regards
hepzi
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Look in "accessories".


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

Or click Start - Run and type in CMD. Then hit enter or click ok and that will get you to a command prompt


My Blog | DZone Articles
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 3901
i dont know about XP but in windows 2000 it isnt called MS-DOS Prompt. it is called Command Prompt if i remember correctly. im moving this to general computing


I never took notes in college. That's how I got a 4.0 the first 2 years, and a 3.5 the second two years.
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
Try typing in "command" in the run.
Goto Start -> Run.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23621

If you want the full path, it's: C:\WINDOWS\system32\cmd.exe


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Certs: SCEA Part 1, Part 2 & 3 & Core Spring 3, OCAJP
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
when I type
it says parameter not correct "program
HOw do I get doskey to work too?
Ashok Mash
Ranch Hand

Joined: Oct 13, 2000
Posts: 1936
Originally posted by Rufus BugleWeed:
HOw do I get doskey to work too?[/QB]


Rufus, your kidding, are you not?
Okay, the above error with cd "Program Manager" will work only in CMD, not in 'Command.com'. I don't know what exactly is the different between these two, but CMD looks like a better implementation of command prompt to support all DOS commands (16 bit dos env or what ever), where as Command.com is rather fishy!
In CMD, doskey is active by default, and in addition it supports for function keys as well. In your CMD, try pressing F7.
HTH,
aShok.


[ flickr ]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8845

set doskey
This will start doskey. In some windows version doskey is not shipped, the reason I dont know.


Groovy
Jim Toy
Greenhorn

Joined: Oct 17, 2002
Posts: 14
Originally posted by Ashok Krishnan:

cd "Program Manager" will work only in CMD, not in 'Command.com'.

To get "Program Manager" to work in command.com you need to conform to 8.3 spec. So you need to use c:\progra~1
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
I am making progress with something I found in the manual page for chdir

After I do that doskey works and I could enter long file names. I have not tried

but I will.
Thanks
[ September 05, 2003: Message edited by: Rufus BugleWeed ]
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
Once I press f7 is there a way to specify I want to run command 1. We could do that in Unix. Does anybody know a good resource on using this shell, command line? I always cringe when I have to buy the resource kit for a windows OS. Son of a gun $50 and I don't believe it explains this part of the OS.
I love trolling in the MS knowledge base - wrong.
 
IntelliJ Java IDE
 
subject: URGENT!!!.. MS-DOS prompt
 
developer file tools