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...

Ultrasonic54321
  • 627
  • 3
  • 12
  • 2
    Does it matter? What output do you get from `echo %prompt%`? – EBGreen Mar 23 '18 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 '18 at 17:56
  • The default yes. Always there not necessarily. – EBGreen Mar 23 '18 at 18:09

1 Answers1

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.

Michael Karsyan
  • 434
  • 3
  • 2
  • 1
    Yes, DOS had the `>` even before it had _folders_. I think it inherited the style from CP/M. – u1686_grawity Mar 23 '18 at 21:23
  • thank you for your answer. Because, i am a novice - i stil don't know waht to do.. – Lothar Peters Mar 24 '18 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). – Michael Karsyan Mar 25 '18 at 00:11
  • My real problem is discribed here: https://superuser.com/questions/1307293/command-option-to-start-sophos-anti-virus-in-safe-mode# 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.... – Lothar Peters Mar 27 '18 at 17:08