Assembly language > Assembly discussions

Retrieving the type of a file

(1/1)

Vortex:
Hello,

A small tool to retrieve the type of a file :


--- Code: ---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
--- End code ---

Navigation

[0] Message Index

Go to full version