Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
find | reg query
Name: Reyeg Date: September 21, 2004 at 01:04:35 Pacific OS: NT4 CPU/Ram: 2600/512
Comment:
Hi, can you please tell me what is wrong? Every Time i get false and true if the key exist.
find | reg query "HKEY_CURRENT_USER\Printers\Connections\,,server,printername" if errorlevel 0 goto printerexists if errorlevel 1 goto printernotexists
Summary: I'm trying to write a batch to find a randomly generated registry key then delete it. I use Regdel.exe, a utility to delete entries. I can only think to use reg query (XP) and write the existing keys...
Summary: First of all, that's not exately the script I suggested. The script in this subject is the right one (you had some posting problems and the line with the FIND cmd was changed, affecting the whole scri...