MSDos window Prompt command in XP

  • Thread starter Rusty Shackleford
  • Start date
R

Rusty Shackleford

When I use MSDos window in XP, I type the command 'Prompt $p$_$g' in the Dos
Window to allow the prompt to be below the current drive and path list. Is
there a way to allow this command to be executed when you double click on
the Command Prompt Icon?

--
Rusty Shackleford

'What ever happens, happens necessarily'

(e-mail address removed)

Remove NOSPAM from E-mail address to reply.
 
R

Ramesh [MVP]

Rusty,

Make a .BAT file with the two lines:
-------------------
@Prompt $p$_$g
@cls
-------------------

Save it as C:\1.bat.

Now call the C:\1.bat in the Command Processor Autorun registry value:
http://www.mvps.org/sramesh2k/autoruncmd.htm

--
Ramesh, MS-MVP XP Shell/UI
http://www.mvps.org/sramesh2k


When I use MSDos window in XP, I type the command 'Prompt $p$_$g' in the Dos
Window to allow the prompt to be below the current drive and path list. Is
there a way to allow this command to be executed when you double click on
the Command Prompt Icon?

--
Rusty Shackleford

'What ever happens, happens necessarily'

(e-mail address removed)

Remove NOSPAM from E-mail address to reply.
 
B

Bruce Chambers

Rusty said:
When I use MSDos window in XP, I type the command 'Prompt $p$_$g' in
the Dos Window to allow the prompt to be below the current drive and
path list. Is there a way to allow this command to be executed when
you double click on the Command Prompt Icon?

--
Rusty Shackleford

'What ever happens, happens necessarily'

(e-mail address removed)

Remove NOSPAM from E-mail address to reply.


Add the line "prompt $p$_$g" to C:\Windows\System32\Autoexec.NT.

--

Bruce Chambers

Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having
both at once. - RAH
 
R

Ramesh [MVP]

Hi Bruce,

IIRC, Autoexec.NT is processed when "Command.com" is used. "CMD.exe" seems
to ignore Autoexec.

--
Ramesh, MS-MVP XP Shell/UI
http://www.mvps.org/sramesh2k


Rusty said:
When I use MSDos window in XP, I type the command 'Prompt $p$_$g' in
the Dos Window to allow the prompt to be below the current drive and
path list. Is there a way to allow this command to be executed when
you double click on the Command Prompt Icon?

--
Rusty Shackleford

'What ever happens, happens necessarily'

(e-mail address removed)

Remove NOSPAM from E-mail address to reply.


Add the line "prompt $p$_$g" to C:\Windows\System32\Autoexec.NT.

--

Bruce Chambers

Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having
both at once. - RAH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Windows Security Center window (SP2)? 3
Maximum number of files in folder? 1
drive memory allocation setting? 1
BackWeb-8876480... process? 2
DVD in Pal format? 1
Safe Mode 2
Open with? 2
Defrag stops at 20% 2

Top