I think maybe what attiahia might be eluding to is the .cmd extension.

i.e. TEST.CMD will launch as a batch file.

@ECHO OFF
ECHO Hello %username%

Will execute by typing TEST.CMD at a command prompt and hitting the Enter key, or double clicking the file in Windows Explorer.