echo no newline 转载:http://stackoverflow.com/questions/7105433/windows-batch-echo-without-new-line
|
Using: However, this can be very dangerous when writing more advanced scripts when checking the ERRORLEVEL becomes important as setting A better approach would be to just use a dummy variable name like so: This will produce exactly what you want without any sneaky stuff going on in the background as I had to find out the hard way, but this only works with the piped version; |
|||||||||
|
浙公网安备 33010602011771号