How to find out %Program Files%
Posted: Wed Sep 23, 2009 12:40 pm
Hi All
Since programs are installed by default on "Program files" (on French, German, or English OS) or "Archivos de Programas" on Spanish ones, my question is: Is there any way to find out with a simple function the name of this directory (or registrer key). This will be useful, for example, to display videos at demand:
cOpc[1]:=LFN2SFN(cOpc[3]+"program files\windows media player\wmplayer.exe")
cOpc[2]:=LFN2SFN(cOpc[3]+"program files\windows media player\mplayer2.exe")
Thanks
Emiliano Llano
Since programs are installed by default on "Program files" (on French, German, or English OS) or "Archivos de Programas" on Spanish ones, my question is: Is there any way to find out with a simple function the name of this directory (or registrer key). This will be useful, for example, to display videos at demand:
cOpc[1]:=LFN2SFN(cOpc[3]+"program files\windows media player\wmplayer.exe")
cOpc[2]:=LFN2SFN(cOpc[3]+"program files\windows media player\mplayer2.exe")
Thanks
Emiliano Llano