Search found 2 matches

by 5OEMC
09 Apr 2017 11:22
Forum: DOS Batch Forum
Topic: set variable?
Replies: 2
Views: 1987

Re: set variable?

Yep, thanks. Now I see that my attempt using variable outside loop was just very dumb thing :oops:
by 5OEMC
08 Apr 2017 15:11
Forum: DOS Batch Forum
Topic: set variable?
Replies: 2
Views: 1987

set variable?

mykey.reg Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\MyKey\1] [-HKEY_CURRENT_USER\MyKey\2] [-HKEY_CURRENT_USER\MyKey\3] [-HKEY_CURRENT_USER\MyKey\4] [-HKEY_CURRENT_USER\MyKey\5] for /f "tokens=1 delims=[-]" %%G in (mykey.reg) do reg query %%G /ve 2> nul | find "HKEY"...