|
| Is there an API or FN SYS that will tell me the OS DIR? |
 |
Thu, 18 Oct 2007 15:50:04 -070 |
Is there an API or FN SYS that will tell me the OS DIR?
|
| Post Reply
|
| Re: Is there an API or FN SYS that will tell me the OS DIR? |
 |
Fri, 19 Oct 2007 09:05:12 +020 |
FUNCTION Get_WinDir$()
DIM wD$' *** windows directory
DIM r%%' *** return value
REGISTER
"kernel32.dll","GetWindowsDirectoryA","HFI" AS
"GetWindowsDirectory"
r%% = CALL ("GetWindowsDirectory",wD$,255)
REGISTER CLEAR "GetWindowsDirectory"
Get_WinDir$ = wD$
END FUNCTION
Gruß
Andreas K.
tanos_8@hotmail.com wrote:
> Is there an API or FN SYS that will tell me the OS DIR?
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|