Returns the name of the Windows or Windows System directory.
DirWindows (request#)
(i) request# see below.
(s) directory name.
This function returns the name of either the Windows directory or the Windows System directory, depending on the request# specified.
Request |
Value |
0 |
Windows directory |
1 |
Windows System directory |
2 |
Shared Windows directory on a multi-user system (Windows 2000 and newer).On other versions of Windows, this will return the same value as request 0. |
DirChange(DirWindows(0)) files=FileItemize("*.ini") ini = AskItemlist("Select file", files, @TAB, @UNSORTED, @SINGLE, @FALSE) Run("notepad.exe", ini)