<<宣告WinAPI>>
<<使用: >>
∼得到值:d:\tmp\ ←我自己設到D去的
參數對照:
--
---- 書本上查的到的東西 ---- 不用去背他 ----
Declare Function GetSystemDirectory Lib "kernel32" Alias _
"GetSystemDirectoryA" (Byval lpBuffer As String, _
Byval nSize As Long) As Long
<<使用: >>
DirTmp =Environ$("temp") & "\"
∼得到值:d:\tmp\ ←我自己設到D去的
參數對照:
number envstring 1 ALLUSERSPROFILE 2 APPDATA 3 CLIENTNAME 4 CommonProgramFiles 5 COMPUTERNAME 6 ComSpec 7 FP_NO_HOST_CHECK 8 HOMEDRIVE 9 HOMEPATH 10 LOGONSERVER 11 NUMBER_OF_PROCESSORS 12 OS 13 Path 14 PATHEXT 15 PROCESSOR_ARCHITECTURE 16 PROCESSOR_IDENTIFIER 17 PROCESSOR_LEVEL 18 PROCESSOR_REVISION 19 ProgramFiles 20 SESSIONNAME 21 SystemDrive 22 SystemRoot 23 TEMP 24 TMP 25 USERDOMAIN 26 USERNAME 27 USERPROFILE 28 windir
---- 書本上查的到的東西 ---- 不用去背他 ----
沒有留言:
張貼留言