1.

Solve : if exist?

Answer»

hello

you know that we USE if exist to look if a folder or a file exist.

what if I want to see if a registry key exist

thanks you can use a TOOL like reg.exe. do a query to the registry with it, then check for errorlevel. (or you can grep for expected error MESSAGES that reg.exe gives)THANK you M.r ghostdog74 for replaying

but I don't know how to use error level

and I want to do that by CMD script not by any other tools

thanks again



Discussion

No Comment Found