1

in my one batch file i set a variable, after running this batch file it shows the error "The input line is too long." how to overcome from this problem. or it is possible to increase the input line length(max) in windows?

Benoit
  • 76,634
  • 23
  • 210
  • 236
ajit
  • 11
  • 1
  • 2

1 Answers1

1

As per my comment, to delimit a line in a batch file, append the ^ character to the line. Eg:

somelong command ^
carries on here ^
and finally ends here

This will behave as 1 line.

Not however if this will overcome the input length limitation.

Benoit
  • 76,634
  • 23
  • 210
  • 236
leppie
  • 115,091
  • 17
  • 196
  • 297