Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - import vcvarsall.bat?

Reply
 
Old 03-22-2007   #1 (permalink)
wscholine


 
 

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
Old 03-22-2007   #2 (permalink)
Keith Hill [MVP]


 
 

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
Reply

Thread Tools


Similar Threads
Thread Forum
Import PST to WLM? Live Mail
import pst Vista mail
Can't Import Vista mail
IMPORT FROM WM TO WLM Live Mail
Import-Csv PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46