2
reg import RegFile.reg

How to check return code of this command ?

Kevin Panko
  • 7,466
Ashish
  • 187

1 Answers1

1

The exit status of the last command should be stored in the ERRORLEVEL variable. Run this after running your reg command:

echo %ERRORLEVEL%