Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. VC 6.0 msdev.exe System Path

VC 6.0 msdev.exe System Path

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpvisual-studiohelp
7 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Makover
    wrote on last edited by
    #1

    Hello, How can I guarantee that msdev.exe is in my system path? I tried using "set path=%path%;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;" in the autoexec.bat file but I get the "Too many parameters" error (because of the spaces, I guess). How can I set the path? Who can I ask (If you don't know)? Thank You. BTW, I'm using Windows 98 SE. ----------------------- But what did I do?

    J N 2 Replies Last reply
    0
    • M Makover

      Hello, How can I guarantee that msdev.exe is in my system path? I tried using "set path=%path%;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;" in the autoexec.bat file but I get the "Too many parameters" error (because of the spaces, I guess). How can I set the path? Who can I ask (If you don't know)? Thank You. BTW, I'm using Windows 98 SE. ----------------------- But what did I do?

      J Offline
      J Offline
      J Patel
      wrote on last edited by
      #2

      Try putting VCVARS32.BAT at the end of your autoexec.bat VCVARS32.BAT is found under the "Microsoft Visual Studio\VC98\Bin" directory. HTH Jignesh

      M 1 Reply Last reply
      0
      • J J Patel

        Try putting VCVARS32.BAT at the end of your autoexec.bat VCVARS32.BAT is found under the "Microsoft Visual Studio\VC98\Bin" directory. HTH Jignesh

        M Offline
        M Offline
        Makover
        wrote on last edited by
        #3

        Hello Jignesh Sorry for being so ignorant :(( but I didn't quite understand what you meant by: "Try putting VCVARS32.BAT at the end of your autoexec.bat". Should I just add the string "VCVARS32.BAT" at the end of the autoexec.bat file? Thanks for your quick response. Alon. ----------------------- But what did I do?

        N 1 Reply Last reply
        0
        • M Makover

          Hello, How can I guarantee that msdev.exe is in my system path? I tried using "set path=%path%;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;" in the autoexec.bat file but I get the "Too many parameters" error (because of the spaces, I guess). How can I set the path? Who can I ask (If you don't know)? Thank You. BTW, I'm using Windows 98 SE. ----------------------- But what did I do?

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          For file paths with spaces you gotta add quotes. Nish


          Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

          M 1 Reply Last reply
          0
          • M Makover

            Hello Jignesh Sorry for being so ignorant :(( but I didn't quite understand what you meant by: "Try putting VCVARS32.BAT at the end of your autoexec.bat". Should I just add the string "VCVARS32.BAT" at the end of the autoexec.bat file? Thanks for your quick response. Alon. ----------------------- But what did I do?

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #5

            Open Autoexec.bat using an editor, and add C:\....\vcvars32.bat as your last line. Then this will get executed at boot time. Nish


            Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

            M 1 Reply Last reply
            0
            • N Nish Nishant

              Open Autoexec.bat using an editor, and add C:\....\vcvars32.bat as your last line. Then this will get executed at boot time. Nish


              Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

              M Offline
              M Offline
              Michael Dunn
              wrote on last edited by
              #6

              Nishant S wrote: add C:\....\vcvars32.bat as your last line. Don't forget the call keyword before a batch file, or else the new batch file never returns to the caller.

              call C:\msdev\vc98\bin\vcvars32.bat

              --Mike-- The Internet is a place where absolutely nothing happens.   -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

              1 Reply Last reply
              0
              • N Nish Nishant

                For file paths with spaces you gotta add quotes. Nish


                Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]

                M Offline
                M Offline
                Makover
                wrote on last edited by
                #7

                Finally ------- set PATH=%path%;"C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin" at the end of the autoexec.bat did the job. Thanks for your help :rose:, Alon.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups