P
Paul E. Schoen
As far as I can remember, you have to get that with an API call (and
are those some bad memories.)
I used %programfiles% in a batch file and it seemed to work with my XPsp3:
dir "%programfiles%\m*" /p
But for scripting, try this.
http://www.microsoft.com/technet/scriptcenter/resources/qanda/dec05/hey1222.mspx
I haven't tried it. Please let me know if it works or not.
Paul