News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Hotfix for Disasm problem on XP and later.

Started by hutch--, October 10, 2009, 01:33:49 AM

Previous topic - Next topic

hutch--

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
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php