how I can know which drive is the drive where the system are installed?
C:\windows
or
D:\Windows
or
E:\Windows
...
and how i can where is the files of system are?
in system like Win98, Winme
or in System32 like WinXP
Printable View
how I can know which drive is the drive where the system are installed?
C:\windows
or
D:\Windows
or
E:\Windows
...
and how i can where is the files of system are?
in system like Win98, Winme
or in System32 like WinXP
i don't know if this works in any operating system other than Windows XP Professional.
code: Environ$("systemdrive") 'for C:
Environ$("systemroot") 'for C:\windows
Environ$("systemroot") + "\system32" 'for C:\windows\system32
thank you, the both method are work