up vote 0 down vote favorite
share [g+] share [fb]

reg import RegFile.reg

How to check return code of this command ?

link|improve this question

43% accept rate
feedback

1 Answer

up vote 0 down vote accepted

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

echo %ERRORLEVEL%
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.