regedit.exe /s : does it return with an exit code?

  • Thread starter Thread starter andy
  • Start date Start date
A

andy

Hi,

does anyony know if regedit.exe, called to process data from an input
reg file, returns with a sensible exit code?
I'd like to know if reg file data was processed successful or not.

Example:
regedit.exe /s mydata.reg

if errorlevel 1 echo "error while processing reg file..."
....

Thanks in advance.
Regards,
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top