DeutschEspañolFrançaisItalianoNederlandsPortuguêsΕλληνικάРусскийالعربية中文(简体)中文(繁體)日本語한국어
 
Donate Bitcoins
Google
 
www smithii.com
 

exetype 1.1 has been released

To automate the creation of .lnk files to Windows GUI applications, I needed a way to programatically determine the type of an .exe. So I wrote exetype.

You can download the binary here and the source code here.

Here's the changelog.txt:

exetype changelog

Version 1.1 - 19 Jul 06:

	Standardized version information across all programs

Version 1.0 - 08 Apr 06:

	Initial release

Here's the readme.txt:

exetype 1.1 - Jul 19 2006
Copyright (c) 2005-2006 Ross Smith II (http://smithii.com) All Rights Reserved

Reports one of the following numbers representing the type of .EXE found:

IMAGE_SUBSYSTEM_UNKNOWN              0   // Unknown subsystem.
IMAGE_SUBSYSTEM_NATIVE               1   // Image doesn't require a subsystem.
IMAGE_SUBSYSTEM_WINDOWS_GUI          2   // Image runs in the Windows GUI subsystem.
IMAGE_SUBSYSTEM_WINDOWS_CUI          3   // Image runs in the Windows character subsystem.
IMAGE_SUBSYSTEM_OS2_CUI              5   // image runs in the OS/2 character subsystem.
IMAGE_SUBSYSTEM_POSIX_CUI            7   // image runs in the Posix character subsystem.
IMAGE_SUBSYSTEM_NATIVE_WINDOWS       8   // image is a native Win9x driver.
IMAGE_SUBSYSTEM_WINDOWS_CE_GUI       9   // Image runs in the Windows CE subsystem.
IMAGE_SUBSYSTEM_EFI_APPLICATION      10  //
IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER  11   //
IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER   12  //
IMAGE_SUBSYSTEM_EFI_ROM              13
IMAGE_SUBSYSTEM_XBOX                 14

------------------------------------------------------------------------------

Usage: exetype [options] target.exe

Options (defaults in parentheses):
-q | --quiet                   Only display errors, set errorcode to exe type
-v | --version                 Show version and copyright and quit
-? | --help                    Show this help message and quit

Examples:

c:\>exetype exetype.exe

exetype.exe: Windows Console

c:\>exetype %windir%\notepad.exe
C:\WINDOWS\notepad.exe: Windows GUI

c:\>echo %errorlevel%
2

c:\>exetype -q exetype.exe

c:\>echo %errorlevel%
3

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

path containing the original Windows XP installation CD files

how i can sliptreaming in french ( what is the mod for the CMD; the pachs and hotfixes are named with what suffixes ?)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
DeutschEspañolFrançaisItalianoNederlandsPortuguêsΕλληνικάРусскийالعربية中文(简体)中文(繁體)日本語한국어
 
Donate Bitcoins
Google
 
www smithii.com
 
Special thanks to Riester Rente Online for a generous donation!