Advertisement
Guest User

Untitled

a guest
Nov 24th, 2015
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. @echo off
  2. cls
  3. setlocal enabledelayedexpansion
  4. for /f "tokens=2* usebackq" %%A in (`REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\pfendt" /v myvar^|find "myvar"`) do set RESULT=%%B
  5. echo this is what i found !RESULT!
  6. endlocal
  7. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement