Code: Select all
rem a small batch file for beginners that compiles your
rem basic program with the commented option. ( to output asm )
rem just save this as a batch file, create a shortcut on the desktop
rem and drag and drop your basic program, you will then get yourprogram.pb.asm
rem on the same path as yourprogram.pb
rem
%temp=%path%
path=C:\Program Files\PureBasic\Compilers;%path%
pbcompiler %1 /COMMENTED
path=%temp%
copy "C:\Program Files\PureBasic\Compilers\PureBasic.asm" %1.asm