Joe Caverly Aug 2,293 111 2025-02-10 #1 @DLLTYPE returns ECHO OFF for an unknown DLL type, instead of zero. @EXETYPE returns 0 for an unknown Application type. Code: E:\...\thincore>echo %@exetype[tctest.vbs] 0 E:\...\thincore>echo %@dlltype[tctest.vbs] ECHO is OFF Joe
@DLLTYPE returns ECHO OFF for an unknown DLL type, instead of zero. @EXETYPE returns 0 for an unknown Application type. Code: E:\...\thincore>echo %@exetype[tctest.vbs] 0 E:\...\thincore>echo %@dlltype[tctest.vbs] ECHO is OFF Joe
rconn Administrator May 13,681 256 Staff member 2025-02-10 #2 Not reproducible here; @dlltype always returns 0 for an unknown type. Any chance you have a plugin or user-defined function of that name?
Not reproducible here; @dlltype always returns 0 for an unknown type. Any chance you have a plugin or user-defined function of that name?
Joe Caverly Aug 2,293 111 2025-02-10 #3 Yepper, a UDF. Code: dlltype=%@execstr[pshell /s "$a = get-peheader %1; $a.type"] Removed the UDF, and @dlltype returns the zero as expected. Joe
Yepper, a UDF. Code: dlltype=%@execstr[pshell /s "$a = get-peheader %1; $a.type"] Removed the UDF, and @dlltype returns the zero as expected. Joe