Hello,
A small tool to retrieve the type of a file :
GetFileType GetFileType.exe
Console application or batch file
GetFileType C:\WINDOWS\NOTEPAD.EXE
GUI Windows application
GetFileType Hello.com
MS-DOS executable or .COM file
GetFileType Test.bat
Console application or batch file
GetFileType GetFileType.asm
Not an executable file or an error condition