5

In a command prompt window (terminal), how can I get my prompt to be just the current folder?

e.g.

prompt $p $g

gives:

C:\Users\Robin >

But I want it to just show:

Robin > 

UPDATE: As @Caius Jard said in the comments, the question identified doesn't duplicate this, as I don't want to simply remove the path, I want to have the current folder name included in the prompt.

e.g.

 Program Files >

or

 Users >

Hope that clarifies

0 Answers0