>>Ok, still anyone know how to do it in register key only?
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\VisStudio Cmd Prompt]
[HKEY_CLASSES_ROOT\Folder\shell\VisStudio Cmd Prompt\Command]
@="cmd /K \"C:\\Program Files\\Microsoft Visual Studio
.NET\\Common7\\Tools\\vsvar
David Ferguson wrote:
> I can't get anything to work if I use %comspec%. In order to use
> %..%, I thought you had to create a SZ_EXPAND key, which you can't
> normally do through REGEDIT.
You can use REGEDT32 to create REG_EXPAND_SZ keys.
Brad
--
Read my web log at http://www.quality.nu/dotn
I can't get anything to work if I use %comspec%. In order to use
%..%, I thought you had to create a SZ_EXPAND key, which you can't
normally do through REGEDIT.
I don't think you need to CD anywhere. The shell will start the CMD
process with the default drive and directory you click on.
Anyway
Better yet,
call vscars32.bat
cd /D "%1"
--Rich
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of James Berry
Sent: Wednesday, May 22, 2002 6:21 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] .NET Command Window Shell
> I would create
C#, VB,
Batch
>files, etc. - you start to lose your mind...
>
>-Original Message-
>From: James Berry [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 22, 2002 7:21 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [DOTNET] .NET Command Window Shell
>
>
>> I would create
Thanks - Yes I forgot the "call" part. Switching between C++, C#, VB, Batch
files, etc. - you start to lose your mind...
-Original Message-
From: James Berry [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 7:21 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] .NET Comm
> I would create another batch file called DevCmd.bat with the following
> contents:
> vsvars32.bat
> cd "%1"
Wouldn't you need:
call vscars32.bat
cd "%1"
Seeya
James
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://dis
I would create another batch file called DevCmd.bat with the following
contents:
vsvars32.bat
cd "%1"
Use this file instead of doing it all in one line.
-Original Message-
From: Andreas HÃ¥kansson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 4:56 AM
To: [EMAIL PROTECTED]
Subje