Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Registry Question
#1
Will it be possible to get which folder Windows is installed in the registry? I mean, there are many versions of Windows and I am trying to make a macro that will work on all versions :lol:

All I need is the main folder where system32 exists.

Thanks!
#2
Try this:
Code:
Copy      Help
str a
a.expandpath("$windows$")
out a
Basically you can use $windows$ as opposed to "C:\Windows"
There are also many other file searches, such as:
$personal$ is for "my documents" (where ever the folder might be)
Matt B


Forum Jump:


Users browsing this thread: 1 Guest(s)