open .NET shell programmatically

  • Thread starter Thread starter Boni
  • Start date Start date
B

Boni

Dear all,
is it possible to open .NET shell programmatically?
Thanks,
Boni
 
Boni said:
Dear all,
is it possible to open .NET shell programmatically?

Do you mean the .NET Command Windows?

Just run the cmd.exe application, using the /k parameter, example below:

%windir%\syswow64\cmd.exe /k ""D:\Program Files (x86)\Microsoft Visual
Studio .NET 2003\Common7\Tools\vsvars32.bat""


--
Mike Wilson*
Evolved Software Studios Ltd
www.evolvedsoftwarestudios.com

*Ask me about getting YOU a VIDEO of your software being tested in Windows
Vista for ONLY $25
 
And if Visual Studio is not installed?
Liddle Feesh said:
Do you mean the .NET Command Windows?

Just run the cmd.exe application, using the /k parameter, example below:

%windir%\syswow64\cmd.exe /k ""D:\Program Files (x86)\Microsoft Visual
Studio .NET 2003\Common7\Tools\vsvars32.bat""


--
Mike Wilson*
Evolved Software Studios Ltd
www.evolvedsoftwarestudios.com

*Ask me about getting YOU a VIDEO of your software being tested in Windows
Vista for ONLY $25
 
Boni said:
is it possible to open .NET shell programmatically?

And just what would you want to do with it, having done so?

Regards,
Phill W.
 
For example start regasm (and some other utilities, which are there without
VS). So far I just copied the most commands to set pathes from vcvars32 into
my prog.
Thanks,
Boni
 
If you want to run Framework utilities /wityhout/ having Visual
Studio installed, the you just need a shortcut that runs opens in the
Framework's executable directory, something like

%comspec% -k "cd /d %WinDir%\Microsoft.NET\Framework\v1.1.4322"

HTH,
Phill W.

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\regasm.exe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top