Gos Posted December 21, 2004 Posted December 21, 2004 Hi. For starters, I am not sure wether this is the correct forum to post this thread in, but here goes. ,)My question is quite simple. Is there any variable, which is predefined in Windows, in order to get into the officeXP/2000 folder?Like %windir%, %systemdrive% and so on.The only differance is that it takes you into ./..../office10/ or ./..../office9/ .--- Gos
enuffsaid Posted December 21, 2004 Posted December 21, 2004 Microsoft uses "app paths"Check HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths.You can define your own there.
Gos Posted December 22, 2004 Author Posted December 22, 2004 Ah... Look there. Nice nice. Sounds great. =) I can use that. So, I reckon no one know if there is any predefined variable then, or?Under the key written above I found something OUTLOOK.EXE.... Under this key I found to strings.(Standard) and path.(Standard) is that path to outlook.exe and path is the path to "./..../office10", is there any way to... "execute" path so Windows will open that folder?---Gos
Radimus Posted December 22, 2004 Posted December 22, 2004 see reg.exe and http://support.microsoft.com/kb/q130510/reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE" /v PathKixtart is a much better scripting language than 'dos', but I don't know what you are trying to accomplish, or in what context you need this forbreak ON$office=readvalue("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE","Path")shell 'explorer /n,"'+$office+'"'
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now