NO

Author Topic: Retrieving the type of a file  (Read 346 times)

Offline Vortex

  • Member
  • *
  • Posts: 802
    • http://www.vortex.masmcode.com
Retrieving the type of a file
« on: November 04, 2023, 08:52:05 PM »
Hello,

A small tool to retrieve the type of a file :

Code: [Select]
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
Code it... That's all...