Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for /F "delims=" %%x in (key.txt) do
- (
- echo value read from file -- %%x **Shows correct value**
- set "SERIAL=%%x"
- echo number which got assigned -- %SERIAL% **Shows incorrect value**
- set "SERIAL=" ** Doesnt clear the set value**
- )
Add Comment
Please, Sign In to add comment