'lib' is not recognized as an internal or external command

Hi-

  When trying to perform the following command :
       C:\Documents and Settings\administrator>lib -NOLOGO -LIST e:/oracle/prodappl/ad/11.5.0/lib/adst.lib
  I recieved an error:  'lib' is not recognized as an internal or external command, operable program or batch file.
 
 I've installed the MS C++ ToolKit 2003 on the D:\MSC++tookkit folder on that machine, but still getting that error message.
when running that command.   Is the path not set correctly on the machine? if not anyone know where is the path for 'lib' should be?

 
Thanks
ecosysAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jkrCommented:
You need to execute the vcvars32.bat from the installation folder of the ToolKit 2003, which will set the PATH environment variable accordingly.
0
ecosysAuthor Commented:
Thanks jkr, for the quick response.

I've executed the the vcvars32.bat from commmand prompted, any idea what is the command/string to set the path for 'lib'?


0
jkrCommented:
Open the .bat file in an editor. It is generated during the installation and should set the appropriate PATH environment. Usually, it is an expression like

set PATH=%PATH%;c:\[Path to your installation]\bin

0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

ecosysAuthor Commented:
Opened the .bat file with an editor and it seem to be correct:

@echo off

Set PATH=D:\MSC++ToolKit2003\bin;%PATH%
Set INCLUDE=D:\MSC++ToolKit2003\include;%INCLUDE%
Set LIB=D:\MSC++ToolKit2003\lib;%LIB%

echo Setting environment for using Microsoft Visual C++ 2003 Toolkit.
echo (If you have another version of Visual Studio or Visual C++ installed and wish
echo to use its tools from the command line, run vcvars32.bat for that version.)
echo.
echo Thank you for choosing the Visual C++ Toolkit 2003!  Get started quickly by
echo building the code samples included in the "Samples" directory.  Each sample
echo includes a short whitepaper discussing the Visual C++ features, and a batch
echo file for building the code.
echo.
echo Type "cl /?" for brief documentation on compiler options.
echo.
echo Visit http://msdn.microsoft.com/visualc/using/documentation/default.aspx for
echo complete compiler documentation.
0
ecosysAuthor Commented:
Even when I went on the server and type this:
 D:\MSC++ToolKit2003\bin>lib

I would get
'lib' is not recognized as an internal or external command, operable proggram or batch file
0
jkrCommented:
That's odd. Is 'lib.exe' located in that directory at all?
0
ecosysAuthor Commented:
nope, i don't see 'lib.exe' anywhere on the server.  
0
jkrCommented:
Well, then the error message is not really surprising ;o)

IIRC, the binary should come with the Platform SDK - get a copy from http://support.microsoft.com/default.aspx?pr=psdk
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ecosysAuthor Commented:
Thanks again jkr,

The Platform SDK is 398.5mb of downloading.  Do you know of a better way? to get lib.exe?


0
jkrCommented:
No legal one, sorry.
0
ecosysAuthor Commented:
jkr,
  I went and downloaded as suggested.
I now found the 'lib.exe' under D:\Program Files\Microsoft Platform SDK\Bin\win64

Does it matter that it is located under win64 folder?  we don't have a 64 bit processor.
0
jkrCommented:
Argh, that's bad, this is the 64bit version. Hm, I think I misunderstood your Q, let me clarify: You have the Toolkit (i.e. the command line tools) or the Express Edition?
0
ecosysAuthor Commented:
I moved the D:\Program Files\Microsoft Platform SDK\Bin\win64\*.* to the D:\MSC++ToolKit2003\Bin\ folder on the server, as advised on http://wiki.tcl.tk/11431  it appears to be working.

Thanks jkl
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.