Well, I have a whole bunch of workstations. Each have different windows directories.
c:\winxp
c:\windowsxp
c:\windows
c:\winxp
etc
It would be too much to try and say:
If winxp then...
On the dos prompt, you can use %windir%, and it will give you c:\windows.
That is kind of what I want to use, but i would like to use it to remotely find out their windows directory.