[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::windows-nt

Title:Windows NT
Notice:See note 15.0 for HCL location
Moderator:TARKIN::LIN.com::FOLEY
Created:Thu Oct 31 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6086
Total number of notes:31449

5902.0. "tool to determine if DLL is Alpha/Intel ?" by PRMS00::COLE () Fri Apr 11 1997 06:08

    
    	Is there any tool or utility which can read the header
    	of a DLL and determine if it is alpha or intel code ?
    
    	thanks,
    
    	larry cole
    
    	[email protected]
    
T.RTitleUserPersonal
Name
DateLines
5902.1QuickViewnova05.vbo.dec.com::BERGERFri Apr 11 1997 06:178
QuickView does that nicely. It's part of NT 4.0, you can install it 
through Control Panel-> Add/Remove Programs -> Windows NT Setup -> 
Accessories Details

Then you right click an exe or dll, choose Quick View and here you 
are. Hope it helps

	Vincent 
5902.2BUSY::SLABA swift kick in the butt - $1Fri Apr 11 1997 07:483
    
    	I didn't get QuickView with my NT4.0 system.
    
5902.3LEFTY::CWILLIAMSCD or not CD, that's the questionFri Apr 11 1997 08:067
    Sure you did. It's in the base distribution, as described in .1
    
    You do have to ask for it to be installed, or retrofit the install, as
    in .1
    
    Chris
    
5902.4BUSY::SLABAct like you own the companyFri Apr 11 1997 09:2411
    
    	Now I see it.
    
    	Accessories was already checked off, but I didn't see that only 11
    	of 13 details were installed.
    
    	However, QuickView is checked off but I don't seem to have it in-
    	stalled.
    
    	And a search of C: comes up empty.
    
5902.5LEFTY::CWILLIAMSCD or not CD, that's the questionFri Apr 11 1997 11:0611
    Go into explorer, select the file you want, and -right click- on it.
    You should get a menu with Open, Print, etc, which includes Quickview.
    You may get a menu with "Open With" instead - Quickview will be one of
    the choices.
    
    It does not show up in the start menu....
    
    Chris
    
    
    
5902.6BUSY::SLABAntisocialFri Apr 11 1997 18:375
    
    	Ahah, that's where it is.
    
    	Found it.  Thanks.
    
5902.7run quickview in a script ?PRMS00::COLEMon Apr 14 1997 06:4216
    Thanks for the pointer to Quickview - just what I need.
    Being new to NT, is there a way to run Quickview in a script
    (batch) which would scan all directories ? (like a Unix
    find with -exec) ?
    
    The object is to scan all directories on an Alpha NT system
    and purge any Intel DLLs.
    
    I guess I could write a perl script to do it, if I knew
    which bits in the header of each DLL determined the processor
    the DLL was written for; hopefully there is an easier way.
    
    many thanks,
    
    ...larry
    
5902.8Script with EXETYPE.EXE will do itDECWET::MVBMonty VanderBiltTue Apr 29 1997 14:4612
This .cmd script will work. It looks for non Alpha exes and dlls in system32.
EXETYPE.EXE is a program that comes with the resource kit. This
script came from the Alpha NT mailing list.

@echo off
cd /d %windir%
echo.
echo Checking %windir%\SYSTEM32 directory
cd system32
for %%f in (*.dll) do exetype "%%f" | findstr "Alpha" > nul: || ((echo %%f is not an Alpha DLL.) & exetype "%%f")
for %%f in (*.exe) do exetype "%%f" | findstr "Alpha" > nul: || ((echo %%f is not an Alpha executable.) & exetype "%%f")
echo.