0

Could someone please help me?

I have a problem in Windows 7 Ultimate with the command prompt.

In fact, i am a "novice." So the all changes I try in the command line, doesn't change anything...

Whatever I do, it goes to "c:>", which is unusual, as I had ">" before?

It's C:> - or when i make changes in the registry,

It's C:\Administrator

Why do i always have ">" behind C:\ ??????

I need help - until today, I can't find a solution...

3
  • 2
    Does it matter? What output do you get from echo %prompt%?
    – EBGreen
    Mar 23, 2018 at 17:48
  • Showing a > behind the path is always there. It was made the default since windows 3.11. The reason is to clearly see the seperation between the path, and where you type. Otherwise, your command could look like this: C:\Program Files\Microsoft Officeoutlook.exe instead of C:\Program Files\Microsoft Office>outlook.exe
    – LPChip
    Mar 23, 2018 at 17:56
  • The default yes. Always there not necessarily.
    – EBGreen
    Mar 23, 2018 at 18:09

1 Answer 1

3

By default command prompt in Windows (and in DOS as far as i remember) is set to $p$g where $p stands for the current drive and path and $g stands for symbol ">" (greater than).

You can change the default prompt just by using prompt command (for cmd session).

Or permanently

So if you don't want ">", you can type prompt $p$s ($s stands for space - i believe you should have any delimiter)

But commonly the default $p$g is ok for most cases.

4
  • 1
    Yes, DOS had the > even before it had folders. I think it inherited the style from CP/M. Mar 23, 2018 at 21:23
  • thank you for your answer. Because, i am a novice - i stil don't know waht to do.. Mar 24, 2018 at 19:41
  • In command line just type: prompt $p$s But I don't see any reason why you should change the default prompt (especially if you are a novice). Mar 25, 2018 at 0:11
  • My real problem is discribed here: superuser.com/questions/1307293/… I can't run a sertent programm in safe mode, when i do it directly from the program - it's just starting - wihout let me any choice. Therefore, i need to start it from the command line - but this is impossible... not found or something like that.... Mar 27, 2018 at 17:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .