Retrieving the type of a file

Started by Vortex, November 04, 2023, 08:52:05 PM

Previous topic - Next topic

Vortex

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

Code it... That's all...