Computing.Net > Forums > Windows Me > DOS Prompt

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DOS Prompt

Reply to Message Icon

Name: SlowRambler
Date: May 4, 2005 at 01:04:28 Pacific
OS: Windows Me 4.9.3000
CPU/Ram: Pentium 3 / 256mb
Comment:

A historical request.At the DOS prompt C:\> how do I instruct the system to convert to C: so I can type a command ? I'm feeling stupid over this.At the prompt C:\> C: just puts me back to the standard prompt.I think I have to use a space somewhere but just cannot remember. Senior Moment ? Help please group

Keith



Sponsored Link
Ads by Google

Response Number 1
Name: SlowRambler
Date: May 4, 2005 at 01:18:46 Pacific
Reply:

Just to clarify my earlier note.What I want is the process to achieve the prompt minus the back slash and 'greater than' symbol Prompt C:\> converted to the simple C:

Keith


0

Response Number 2
Name: Mechanix2Go
Date: May 4, 2005 at 02:55:01 Pacific
Reply:

Hi,

I don't have DOS running right now, but IIRC,

set prompt=

Why you want to do this is a mystery to me.

Senior moments on both ends?

;)

M2


If at first you don't succeed, you're about average.


0

Response Number 3
Name: SlowRambler
Date: May 4, 2005 at 06:14:20 Pacific
Reply:

Thanks for bothering to reply and the good humour M2.The reason I need to get to C: is not to make a permanent change of the prompt .Elsewhere in the forum you will see I am trying to repair a malfunction with my System Restore.One solution from Microsoft knowledgebase Q303354 is to rename the directory.That requires at the DOS prompt to type C: hit enter then type attrib-r-s-h_RESTORE.When I type C: at the DOS prompt I just get the prompt (C:\>) again.If I type C:\>C:attrib-r-s-h_Restore I get the dreaded wrong command Abort Retry Delete error message.I am doing something daft at the command line so needed to ask the group how to set up C: from the prompt so I can type in a valid command. A senior moment indeed Eh ? :-)) if you (or anyone) has bothered to read down this far What am I doing wrong ?

Keith


0

Response Number 4
Name: Mechanix2Go
Date: May 4, 2005 at 06:47:04 Pacific
Reply:

The difference between this:

c:

and this:

c:\>

is how the "prompt" variable is set.

Usually it is set by default to:

$P$G

which means "show the path followed by the greater than'.

But the appearance of the prompt is not your problem.

At the prompt, regardless of what it looks like, if you type in attrib and get 'bad command or file name' it means that attrib is not available to DOS.

Either it's gone missing or, more likely, it's not 'in the path' so DOS can't find it.

I assume you're booting on the HD, so check your path with:

path
[enter]

I will normally be set to something like:

c:\windows;c:\windows\system;

And attrib needs some space:

attrib -r -h -s restore

HTH


M2


If at first you don't succeed, you're about average.


0

Response Number 5
Name: jboy
Date: May 4, 2005 at 06:58:06 Pacific
Reply:

"I get the dreaded wrong command Abort Retry Delete error message... What am I doing wrong ?"

Paraphrasing error messages, for one thing.

Also:

C:attrib-r-s-h_Restore

What the heck? Spaces?? without spaces, DOS sees that as one 'command' and will definitely return the better known 'bad command or filename' message

From the M$KB

Type attrib -r -s -h _RESTORE, and then press ENTER.

Type ren _RESTORE oldrest, and then press ENTER.

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


0

Related Posts

See More



Response Number 6
Name: SlowRambler
Date: May 4, 2005 at 07:15:39 Pacific
Reply:

Even I understand now.Thanks!!

Keith


0

Response Number 7
Name: jboy
Date: May 4, 2005 at 07:50:04 Pacific
Reply:

Sure thing - DOS is very specific.

Hope the fix works out

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


0

Sponsored Link
Ads by Google
Reply to Message Icon

PC thinks DVD drive is a ... Brightness in CRT ?



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Me Forum Home


Sponsored links

Ads by Google


Results for: DOS Prompt

Me starts at Dos prompt www.computing.net/answers/windows-me/me-starts-at-dos-prompt/28586.html

MS DOS Prompt when booting ME www.computing.net/answers/windows-me/ms-dos-prompt-when-booting-me/28938.html

Dos prompt>Windows=corruption www.computing.net/answers/windows-me/dos-promptwindowscorruption/28992.html