verifying registry key using a batch file - TechRepublic
General discussion
October 26, 2016 at 12:06 AM
Jctech2025

verifying registry key using a batch file

by Jctech2025 . Updated 9 years, 7 months ago

Trying to validate a registry key exists using a batch file. Issue is, every time I run the batch file I get the following error:

‘”blah”‘ is not recognized as an internal or external command, operable program or batch file. Blah is just the word I’m using in the echo to output on cmd screen if the registry path is there.

I am running the batch file on a test machine, and from its location. Any thoughts? I have looked around and seen the set path command which is not working.

This discussion is locked

All Comments