Re: CL.EXE error !

Tech-Archive recommends: Speed Up your PC by fixing your registry



vsvars32.bat sets some environment variables used by the command line
compiler. Why would you want to copy/paste its contents into your batch
file? You can use the "call" batch file command to execute it and have
control return to your batch file after it's finished executing.

--
Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com


"dwaach" <xbhishek.xsthxnx@xxxxxxxxx> wrote in message
news:1122438925.761356.89010@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I am buidling a MFC dialog project using CL.EXE command line.
> Now when I start building , some errors are generetaed regarding
> *dvp711.dll something. When I run vcvars32.bat , everything works fine
> and I get the output.
>
> Now, I am going to make a DOS batch file for runnning this build
> procedure.
> DO I need to call vcvars32.bat everytime I use CL.EXE.
>
> Why do I need vcvars32.bat for this ?
> Can I copy and paste vcvars32.bat commands into my batch file
>
> Help
> Dwaach
>


.



Relevant Pages

  • Re: Multi-zip files -- Windows server
    ... native DOS versions). ... TO BATCH OR NOT TO BATCH ... and using a batch file to try and solve the problem... ... The IBM PC operating system command line is a most ...
    (comp.sys.cbm)
  • Re: Booming or Fuming? Are You Alive? Or Are You Fading Away?!
    ... purely of statements processed completely by the native batch command ... > command processor, only because it comes free with the OS. ... Hey, guard, it is not PERFECT, OK? ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Booming or Fuming? Are You Alive? Or Are You Fading Away?!
    ... purely of statements processed completely by the native batch command ... > command processor, only because it comes free with the OS. ... Hey, guard, it is not PERFECT, OK? ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Batch file (CMD) output into HTA
    ... One could argue that "real dos" and the NT command prompt have ... be a group for console operations, ... crosspost to batch, vbscript, wsh, powershell, and possibly other groups. ... are also using VBS and just don't know where else ...
    (microsoft.public.scripting.vbscript)
  • CreateProcess not working as doc specifies.
    ... I am having some difficulty using CreateProcess() to run a batch file and get ... you must start the command interpreter; ... the test.bat (should return exit code 1 and does when run from the command ...
    (microsoft.public.win32.programmer.kernel)