Reputation: 378
I have an application, user can install it on any folder in his/her computer how can I find my application on his computer(where it is installed and launch it)
Dim path
path = "path/to/myApplication.exe" 'path to myApplication is unknown I need to find it
Shell """" & path & """", vbNormalFocus
Is there any easy way I can find where user has installed my application on his computer, in windows
Upvotes: 0
Views: 142
Reputation:
This SO Article offers a great solution to your problem.
You can always iterate recursively through the file system, but there are obvious downsides to this method (time, permissions, networks etc.).
Upvotes: 1