How to increase input line length (max) in windows?

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 this problem. or can you increase the length of the input string (max) in windows?

+1
source share
1 answer

According to my comment, to delimit a line in a batch file, add a character ^to the line. For example:

somelong command ^
carries on here ^
and finally ends here

This will behave like 1 line.

However, if this overcomes the input length limit.

+1
source

Source: https://habr.com/ru/post/1624496/


All Articles