Solved

req query bat

Posted on 2006-10-30
3
506 Views
Last Modified: 2008-02-01
Im looking to see if this reg key    "HKEY_LOCAL_MACHINE\SOFTWARE\Yahoo\pager" exist, not worried about any inside content, and have a box say yes, or no
0
Comment
Question by:underground712
3 Comments
 
LVL 30

Accepted Solution

by:
SteveGTR earned 50 total points
ID: 17838108
Try this:

@echo off

reg QUERY HKLM\SOFTWARE\Yahoo\pager >NUL 2>&1

if ERRORLEVEL 1 echo Not found&goto :EOF

echo Found it

Good Luck,
Steve
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bat file to insert Multiple Registry Keys 20 298
BAT FILE ERROR LOG Question 17 61
how to get the largest file size? 33 59
how to run this deletion request 4 21
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question