Wednesday, March 27, 2019

windows - Automatically find installation directory of application and run batch command inside folder

Basically, assume I have program called ABCD installed.


I want to automatically find out where exactly (which folder) it is installed (sometimes not installed in C drive, that's why), and run a batch file command inside that folder.


An idea I'm having is to check for the name in control panel programs list automatically, but I don't know how.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...