469,286 Members | 2,521 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,286 developers. It's quick & easy.

initialize both DB2 and Microsoft Visual Studio environments with asingle command

Something I've been trying on and off to do and only just got figured out.
You can use something similar to the following command to initialize both
the DB2 environment and the MS Visual Studio environment:

db2cw c:\PROGRA~1\MID05A~1\VC\vcvarsall.bat x86

Replace "x86" with the appropriate parameter, as necessary.

Hope this helps someone. Would be nice if the db2cw script could handle
folder names with embedded spaces, though... Not sure if the 8dot3
shortnames are universal or are system specific, but here's how I got them:

C:\>dir c:\pro* /x
Directory of c:\

08/10/2006 02:30 PM <DIR PROGRA~1 Program Files
C:\>dir c:\"Program Files"\"Microsoft Visual Studio"* /x
Directory of c:\Program Files

08/10/2006 02:26 PM <DIR MID05A~1 Microsoft Visual Studio
8

Frank
---
Frank Swarbrick
Senior Developer/Analyst - Mainframe Applications
FirstBank Data Corporation - Lakewood, CO USA
Aug 28 '06 #1
0 1043

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Novice | last post: by
71 posts views Thread by Lauren Wilson | last post: by
15 posts views Thread by Geoff Cox | last post: by
7 posts views Thread by David P. Donahue | last post: by
182 posts views Thread by Jim Hubbard | last post: by
5 posts views Thread by blackdog | last post: by
reply views Thread by Massimiliano Polito | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.