source: main/trunk/binaries/windows/bin/GNUfile/GS_README.txt@ 31442

Last change on this file since 31442 was 31442, checked in by ak19, 7 years ago

Adding the GNUFile windows port of linux file utility to detect bitness of an executable. Link to license included and added a GS_README text file with some basic explanations.

File size: 1001 bytes
Line 
1GNUfile is the Windows version of the Linux file utility.
2GNUfile can be used to detect the bitness (32 or 64 bit) of an executable.
3The GNUfile executable itself is a 32 bit application.
4It was suggested by http://stackoverflow.com/questions/2689168/checking-if-file-is-32bit-or-64bit-on-windows
5
6GNUfile was downloaded as a zipped binary along with the dependencies zip from http://gnuwin32.sourceforge.net/packages/file.htm
7The contents of the two zip files were merged into the new GNUfile zip directory that lives in GS2/bin/windows/GNUfile
8Its license is at http://gnuwin32.sourceforge.net/license.html
9
10
11Run as:
12file.exe <exe>
13
14e.g. GNUfile\bin\file.exe wvWare.exe
15
16Output for 32-bit compiled wvWare mentions "PE32":
17 wvWare.exe; PE32 executable for MS Windows (console) Intel 80386 32-bit
18
19When run on 64bit executables like 7zip 7z.exe below, GNUfile's output mentions "PE32+":
20
21 C:\Program Files\7-Zip\7z.exe; PE32+ executable for MS Windows (console) Mono/.Net assembly
Note: See TracBrowser for help on using the repository browser.