EnableExplicit ImportC "msvcrt.lib" system(cmd.p-ascii) EndImport If OpenConsole() system("title Test Batch") system("dir") system("echo PureBasic Forever") system("pause") CloseConsole() EndIf