continuation character ?

P

Pierre Bru

hi,

is there a continuation character in CMD which would allow me to break a
command in multiple line for readability ?

TIA,
Pierre.
 
F

foxidrive

hi,

is there a continuation character in CMD which would allow me to break a
command in multiple line for readability ?

TIA,
Pierre.

It's the same as the escape character ^
 
T

Timo Salmi

It's the same as the escape character ^

Usually, yes. Unfortunately, it is not quite that simple. A couple of
true-life script extracts:

for /f "tokens=* delims=" %%r in ('
type stderr.tmp') do echo @set var_=%%r>tmp$$$.cmd

for /f "tokens=* delims=" %%r in ('type %1') do (
set return_=%%r)

All the best, Timo
 

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

Top