Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

You are here: Home / Programming / Visual Studio 2008 Command Prompt Here on Vista 64

Visual Studio 2008 Command Prompt Here on Vista 64

August 26, 2008 by Rob Bazinet

Tweet

CommandPromptHere One of the first things I do when setting up a new system is to add the ability to right click on any folder and have a new command prompt with all of the Visual Studio environment variables setup properly.  I have used the one referenced by Scott Hanselman for Visual Studio 2005 but with Visual Studio 2008 and Vista 64 installed I had to make a few tweaks to the file and making it available.

The new command file looks like this:

;
; "CMD Prompt Here" PowerToy
;
; Copyright 1996 Microsoft Corporation
;
; Modified to launch VS.NET 2008 command prompt 8/26/2008 RB
[version]
signature="$CHICAGO$"
[VSNet2008CmdHereInstall]
CopyFiles = VSNet2008CmdHere.Files.Inf
AddReg    = VSNet2008CmdHere.Reg
[DefaultInstall]
CopyFiles = VSNet2008CmdHere.Files.Inf
AddReg    = VSNet2008CmdHere.Reg
[DefaultUnInstall]
DelFiles  = VSNet2008CmdHere.Files.Inf
DelReg    = VSNet2008CmdHere.Reg
[SourceDisksNames]
55="VS .NET 2008 CMD Prompt Here","",1
[SourceDisksFiles]
VSNet2008CmdHere.INF=55
[DestinationDirs]
VSNet2008CmdHere.Files.Inf = 17
[VSNet2008CmdHere.Files.Inf]
VSNet2008CmdHere.INF
[VSNet2008CmdHere.Reg]
HKLM,%UDHERE%,DisplayName,,"%VSNet2008CmdHereName%"
HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\VSNet2008CmdHere.inf"
HKCR,Directory\Shell\VSNet2008CmdHere,,,"%VSNet2008CmdHereAccel%"
HKCR,Directory\Shell\VSNet2008CmdHere\command,,,"%11%\cmd.exe /k cd ""%1"" && ""D:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"""
HKCR,Drive\Shell\VSNet2008CmdHere,,,"%VSNet2008CmdHereAccel%"
HKCR,Drive\Shell\VSNet2008CmdHere\command,,,"%11%\cmd.exe /k cd ""%1"""
[Strings]
VSNet2008CmdHereName="VS.NET 2008 Command Prompt Here PowerToy"
VSNet2008CmdHereAccel="VS.NET &2008 CMD Prompt Here"
UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\VSNet2008CmdHere"

The real changes were the new location of Visual Studio, in particular the fact that the location under Program Files is actually Program Files (x86).   It should be noted that my Visual Studio installation is on my D:, not the default of C:.  This should be an easy change for anyone using this file.

Download the new INF – vsnet2008cmdhere.inf

I hope it helps out.

Technorati Tags: Visual Studio 2008,Command Here

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Email
  • More
  • Pinterest
  • Tumblr
  • Pocket
  • Reddit

Related

Filed Under: Programming

Care about your privacy? I do and use Fathom Analytics on this site.

Fathom Analytics

Comments

  1. umadevi says

    December 23, 2008 at 12:29 pm

    thank u

  2. umadevi says

    December 23, 2008 at 12:29 pm

    thank u

Recent Posts

  • Social Media Times Are Changing
  • It has certainly been a long time…
  • How to Fix Rails Flash Rendering When Using Hotwire
  • Hotwire Fix for CORS Error when using Omniauth
  • Fix Installation of Ruby using rbenv on macOS Big Sur

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Great little utility https://t.co/6AgboJv6oI
    about 1 day ago
  • Funny watching the hate to show up in my time line for ChatGPT. People getting defensive about it.
    about 4 days ago
  • I just backed The SaaS Playbook, by Rob Walling on @Kickstarter https://t.co/1FpTWN9c9v
    about 5 days ago
  • This looks like an interesting project. I need to dig in a bit. https://t.co/gacEX9AmEn "Phlex — fast, object-orie… https://t.co/4AUL0Z0SBl
    about 5 days ago
  • I attempted to use ChatGPT today and asked a couple questions it couldn’t answer. I thought it was a magical black… https://t.co/uJGw0CgUAv
    about 5 days ago
  • RSS - Posts
  • RSS - Comments
Find me on Mastodon