Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Registry key check script

$
0
0

 I'm hoping you guys can help me with a simple script (at least I think it should be simple).  I need a script to check if a registry key exists and if it does to run a batch file, if not it should quit.

Reg key is "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FD8DAC6C-D7E4-4953-941D-6A3BBD605262}"

Batch file is on a DFS share \\domain.local\dfs\batch.bat

I have looked through several things and haven't found a good script I could modify, so I thought I'd check here.  Everything I've found has seemed way too complicated and nothing has shown me how to run a batch file from the VBS.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>