When echo is on I'd like to have the command displayed without the C:\> (or other drive) prompt. For example, a batch file with a single command:
ren test test01
...will output...
C:\>ren test test01
...when run. I'd much rather not see the prompt C:\> before the command. For me...
ren test test01
...is much cleaner output.
Is this possible in a simple way?
Remove prompt from output
Moderator: DosItHelp
Re: Remove prompt from output
Read prompt/?
Re: Remove prompt from output
I'm sorry for the confusion. by 'prompt' I'm referring to 'C:\>' that prints at the beginning of each line. Is there another name for this piece of the command window?
Re: Remove prompt from output
!k is right. The PROMPT command is able to change it.
Try
prompt $
to disable the prompt and write
prompt
to return to your default prompt.
Regards
aGerman
Try
prompt $
to disable the prompt and write
prompt
to return to your default prompt.
Regards
aGerman