The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: hutch-- on October 10, 2009, 01:33:49 AM

Title: Hotfix for Disasm problem on XP and later.
Post by: hutch-- on October 10, 2009, 01:33:49 AM
There has been a command line change between Win2000 and XP that broke the command passed from QE to each batch file in the BIN directory to disassemble EXE and DLL files.

This is the solution, it is contained in the following text file and two (2) batch files.


*********************************************************************
Quick FIX for changes between Win2000 and WinXP command line handling
*********************************************************************

Change the following two (2) lines in MENUS.INI file in the MASM32 directory.

&Dis-assemble EXE file,\MASM32\BIN\dasm.bat "{b}"
Dis-&assemble DLL,\masm32\BIN\Dasmd.bat "{b}"

To these two (2) lines

&Dis-assemble EXE file,\MASM32\BIN\dasm.bat "{b}.exe"
Dis-&assemble DLL,\masm32\BIN\Dasmd.bat "{b}.dll"

The difference is the ".exe" and ".dll" extensions are enclosed in the double
quotes in the INI file and the two (2) batch files in the BIN directory,

DASM.BAT
DASMD.BAT

have had the extensions ".exe" and ".dll" removed.

Place the enclosed batch file DASM.BAT & DASMD.BAT in the MASM32\BIN
directory OVERWRITING the original two (2) batch files.

--------------------------------------------------------------------------
Both modifying the MENUS.INI file and replacing the two (2) batch files is
necessary for this modification to work correctly.
--------------------------------------------------------------------------


Thanks for finding and reporting this Mike.  :U