Skip to main content
July 1, 2008
Question

OS physical path ?

  • July 1, 2008
  • 3 replies
  • 418 views
Guys , Is there way to find the windows installation path . c:\windows or d:\windows programatically ?



Thanks ?
This topic has been closed for replies.

3 replies

July 16, 2008
Guys thanks a lot for reply ,
there are 2 ways to do it ,

1 : #cgi.windir# -- environment variable

2 : <cfregistry action="get" branch="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" entry="systemRoot" type="string" variable="WinRoot">
tclaremont
Inspiring
July 3, 2008
Do you mean the windows installation path on the client or on the server?