Samatter

sse.reg.bat

Nov 23rd, 2021 (edited)
1,425
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Winbatch 0.38 KB | None
  1. @echo off
  2. set KeyName="HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\bethesda softworks\Skyrim Special Edition"
  3. set ValueName="installed path"
  4. for /f "tokens=3* delims= " %%A in ('reg query %KeyName% /v %ValueName%') do (
  5.     set ResultType="%%A"
  6.     set ResultData="%%B"
  7. )
  8. echo Key   = %KeyName%
  9. echo Value = %ValueName%
  10. echo Type  = %ResultType%
  11. echo Data  = %ResultData%
  12. pause
RAW Paste Data Copied