Get System Directory -- 1 Line of Code No API
Get the system directory with 1 line of code and no API.
Original Author: Immortal Tako
Assumptions
I've tested this on Windows 9x/2000/NT/XP, but I cannot say it will work on ME.
Code
msgbox Environ$("windir") & IIf(Len(Environ$("OS")), "SYSTEM32", "SYSTEM")
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.