Page 1 of 1

Remove prompt from output

Posted: 14 Oct 2010 10:32
by jabadm
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?

Re: Remove prompt from output

Posted: 14 Oct 2010 17:48
by amel27

Code: Select all

@prompt $m
@echo on

Re: Remove prompt from output

Posted: 15 Oct 2010 06:31
by jabadm
Thanks! I knew it was possible, just couldn't recall!

Blessings!