locked
how to get visual studio command prompt

    Question

  •  

    hi

    recently i downloaded microsoft visual web developer 2008 express edition from http://www.microsoft.com/express/download/

    it doesnt have visual studio command prompt

    now i'm studying xml web developer so need to compile some assemble files to include in my application

    and i need visual studio command prompt

    and i dont whether normal windows command prompt work for this purpose

    can anyone tell how to get visual studio command prompt

    thanks in advance

    Monday, June 30, 2008 3:58 PM

Answers

  • Note:  The command prompt specific to .NET comes with the Visual Studio editions but not with the Express edition. 

     

    On Visual Studio 2005, it is located in:

     

    \Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"" x86

     

    Look to see if a similar named file may possibly be located somewhere on your hard drive.  If not, then you need to buy the Studio edition, or figure out how to use the regular command prompt.  You also need the command compiler, which I assume does not come with the Express edition.

     

     

    The following code is the contents of the vcvarsall.bat"" x86 batch file.  You can try copying it, but it won't work unless the supporting files are available in the named locations.  I'm guessing you probably don't have them.

     

     

    @echo off
    if "%1" == "" goto x86
    if not "%2" == "" goto usage

    if /i %1 == x86       goto x86
    if /i %1 == amd64     goto amd64
    if /i %1 == x64       goto amd64
    if /i %1 == ia64      goto ia64
    if /i %1 == x86_amd64 goto x86_amd64
    if /i %1 == x86_ia64  goto x86_ia64
    goto usage

    :x86
    if not exist "%~dp0bin\vcvars32.bat" goto missing
    call "%~dp0bin\vcvars32.bat"
    goto :eof

    :amd64
    if not exist "%~dp0bin\amd64\vcvarsamd64.bat" goto missing
    call "%~dp0bin\amd64\vcvarsamd64.bat"
    goto :eof

     

     

    Wednesday, July 02, 2008 5:00 PM

All replies

  • "windows command prompt work for this purpose"

     

    The windows command prompt will work....

     

    Monday, June 30, 2008 5:10 PM
  • This is the Visual Basic Espress Edition forum. Your question does not belong here.
    Monday, June 30, 2008 9:55 PM
  • hi can u tell me in detail about this

    else please tell where should i post this to get a answer

    thanks

     

    Tuesday, July 01, 2008 12:42 PM
  • Post it to http://forums.asp.net/175.aspx.
    Wednesday, July 02, 2008 8:27 AM
  • Note:  The command prompt specific to .NET comes with the Visual Studio editions but not with the Express edition. 

     

    On Visual Studio 2005, it is located in:

     

    \Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"" x86

     

    Look to see if a similar named file may possibly be located somewhere on your hard drive.  If not, then you need to buy the Studio edition, or figure out how to use the regular command prompt.  You also need the command compiler, which I assume does not come with the Express edition.

     

     

    The following code is the contents of the vcvarsall.bat"" x86 batch file.  You can try copying it, but it won't work unless the supporting files are available in the named locations.  I'm guessing you probably don't have them.

     

     

    @echo off
    if "%1" == "" goto x86
    if not "%2" == "" goto usage

    if /i %1 == x86       goto x86
    if /i %1 == amd64     goto amd64
    if /i %1 == x64       goto amd64
    if /i %1 == ia64      goto ia64
    if /i %1 == x86_amd64 goto x86_amd64
    if /i %1 == x86_ia64  goto x86_ia64
    goto usage

    :x86
    if not exist "%~dp0bin\vcvars32.bat" goto missing
    call "%~dp0bin\vcvars32.bat"
    goto :eof

    :amd64
    if not exist "%~dp0bin\amd64\vcvarsamd64.bat" goto missing
    call "%~dp0bin\amd64\vcvarsamd64.bat"
    goto :eof

     

     

    Wednesday, July 02, 2008 5:00 PM
  • yeh

    thanks.yes i dont have that file.ok i'll try to get a new one.thanks for ur reply.

     

    • Proposed as answer by smothmoove Saturday, January 19, 2013 7:32 PM
    Thursday, July 03, 2008 4:03 PM
  • Hello,

     

    I came across your question when doing a search for the same answer.  I have found a solution which I thing may be more direct than the other answers I have seen.

     

    - Download Visual Studio 2008 (A trial version is available)

    - Once it's installed:

    - In the Windows Operating System click on START, PROGRAMS, Microsoft Visual Studio 2008, and Visual Studio Tools

    - The Command Prompt selection is within this folder

     

    I hope this helps

     

    JV

    Saturday, December 06, 2008 4:39 PM