Windows Vista Forums

import vcvarsall.bat?
  1. #1


    wscholine Guest

    import vcvarsall.bat?

    I'd like to set up a command-line build environment with ps. Currently
    I have to do a 'call "%ProgramFiles%\Microsoft Visual Studio 8\VC
    \vcvarsall.bat"' as part of that. Is there a way to do that and cause
    the set commands there to affect env: in ps?




      My System SpecsSystem Spec

  2. #2


    Keith Hill [MVP] Guest

    Re: import vcvarsall.bat?

    "wscholine" <wscholine@gmail.com> wrote in message
    news:1174592482.709848.263260@o5g2000hsb.googlegroups.com...
    > I'd like to set up a command-line build environment with ps. Currently
    > I have to do a 'call "%ProgramFiles%\Microsoft Visual Studio 8\VC
    > \vcvarsall.bat"' as part of that. Is there a way to do that and cause
    > the set commands there to affect env: in ps?
    >


    Take a look at this blog post:

    http://www.leeholmes.com/blog/Nothin...hnologies.aspx

    Also the PSCX snapin will automatically register the appropriate VS 2005 env
    vars if you have VS 2005 installed:

    http://www.codeplex.com/powershellcx

    --
    Keith


      My System SpecsSystem Spec

import vcvarsall.bat? problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Import PST to WLM? osu9400 Live Mail 11 06 Feb 2009
import pst joycel Vista mail 2 08 Jan 2009
Can't Import deedee Vista mail 0 01 Sep 2008
IMPORT FROM WM TO WLM Lindsay Graham Live Mail 4 18 Mar 2008
Import-Csv THG PowerShell 2 02 Jul 2006