Hi All,
How can I get the name of the windows main folder, as a text string?
It's usually "c:\windows", but I've come across a few instances where other names are used:
c:\winnt
c:\win2000
c:\winme
c:\captkirk
amongst others. Is there a relatively simple way to get this into a string, so that I can, for example, add the string "system32\" to the variable MyWinFolder$ to get a valid path?
Thanks in advance to anyone that can help.
How can I get the name of the windows main folder, as a text string?
It's usually "c:\windows", but I've come across a few instances where other names are used:
c:\winnt
c:\win2000
c:\winme
c:\captkirk
amongst others. Is there a relatively simple way to get this into a string, so that I can, for example, add the string "system32\" to the variable MyWinFolder$ to get a valid path?
Thanks in advance to anyone that can help.
Comment