How do you use the stupid batch file.

go to =>tools @ menu bar
	=>preferences
		user tools add a new program and set
			Command=c:\path\to\your\comp_run.bat
			Initial Directory=c:\path\to\your_code

		click prompt for arguments

when you press the icon, a dialog box will appear just enter the name 
of your file and it will be compile and run.

remember no extension of the file.

wrong ====== hello.pas
right ====== hello