I have a batch file (in windows XP, with command extension activated) with the following line:
for /f %%s in ('type version.txt') do set VERSION=%%s
On some computer, it works just fine (as illustrated by this SO question), but on other it kills cmd (the console window just closes)
Why ?
Note: the computers seem to have a similar configuration: XpSP2, the user has administrative right, no 'Command processor" defined in HKEY_CURRENT_USER\Software\Microsoft\Command Processor...