' System Info — ENVIRON$, COMMAND$, CURDIR$, DIR$
#COMPILE EXE
#DIM ALL

FUNCTION PBMAIN() AS LONG
    PRINT "OS: " + ENVIRON$("OS")
    PRINT "ComputerName: " + ENVIRON$("COMPUTERNAME")
    PRINT "CommandLine: " + COMMAND$
    PRINT "CurrentDir: " + CURDIR$
    PRINT "Temp Dir: " + ENVIRON$("TEMP")
    FUNCTION = 0
END FUNCTION
