Jump to content
Sign in to follow this  

Want to lunch application (.exe) install other than C: drive

Recommended Posts



Can anybody help me how to lunch an application install other than C:drive, without using hardcoded path in Run().

Thanks in advanced



The sample script used here


$Path = "HKEY_LOCAL_MACHINE\DU Meter\DUMeter.exe"

For $i= 1 to 9999999

$name = RegEnumVal($Path, $i)

If @error <> 0 then ExitLoop

$value = RegRead($Path,$name)

MsgBox(4096, "SubKey #" & $i & " under " & $Path,"Name: " & $name & ", Value: " & $value)



My PC configuration details:

1. Having 4 Drives: C,D,E & F

2. Installed Win-7 Proffessional

3. And the DUMeter.exe is installed in F:drive, and also other apps Gtalk,AIM,Skype are installed in F:drive

Now i need a script which can the above application without using the installation path

please suggest me how do i search the path first for the particular application & put it into Run()

Share this post

Link to post
Share on other sites

'how to lunch an application?':

You start eating it bit by bit.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.