I have Program A on CD Rom (just an exe)

It needs to lanch another application(Prog b) which is installed in hard drive (could be anywhere)

How can i determin the location of Prog b from Prog A - without search the entire harddrive

Any Ideas