473,395 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

open .NET shell programmatically

Dear all,
is it possible to open .NET shell programmatically?
Thanks,
Boni
Nov 21 '05 #1
5 1481
"Boni" <oilia@nospam> wrote in message
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
Nov 21 '05 #2
And if Visual Studio is not installed?
"Liddle Feesh" <li****@nowhere-noone.com> schrieb im Newsbeitrag
news:42***********************@ptn-nntp-reader04.plus.net...
"Boni" <oilia@nospam> wrote in message
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

Nov 21 '05 #3
"Boni" <oilia@nospam> wrote in message
news:ex**************@TK2MSFTNGP12.phx.gbl...
is it possible to open .NET shell programmatically?


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

Regards,
Phill W.
Nov 21 '05 #4
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
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> schrieb im Newsbeitrag
news:dd**********@yarrow.open.ac.uk...
"Boni" <oilia@nospam> wrote in message
news:ex**************@TK2MSFTNGP12.phx.gbl...
is it possible to open .NET shell programmatically?


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

Regards,
Phill W.

Nov 21 '05 #5
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
"Boni" <oilia@nospam> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> schrieb im Newsbeitrag
news:dd**********@yarrow.open.ac.uk...
"Boni" <oilia@nospam> wrote in message
news:ex**************@TK2MSFTNGP12.phx.gbl...
is it possible to open .NET shell programmatically?


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

Regards,
Phill W.


Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sin | last post by:
Hello everyone, I'm totally stumped at how little info I can find in MSDN or on the web concerning this. It's almost as if only microsoft personel hold the key to these secrets or something!!! ...
8
by: standish22 | last post by:
I want to programmatically capture an error that is done from a Shell command in VB.Net code. What I have is a Test.sql file that looks like ---------------------------------------------------...
10
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. I'm building a technician's tool and I'm trying to create a Jump Panel of buttons to the Windows System32 folder to open files programmatically. I...
6
by: bill | last post by:
I have a VB .net 2.0 site that needs to run a dos app upon a button click. I found Shell too unreliable using parameters and so used system.diagnostic.process. simple troubleshooting...
4
by: DyslexicAnaboko | last post by:
Hello, I have a module that is part of larger project that is giving me trouble, so I setup an example. Brief ===== I simply want to open a text file and make the contents avaliable...
5
by: Maxim Veksler | last post by:
Hello list, I'm trying to write a python script that would allow me to manipulate shell variables of the calling shell. I'm trying to write some logic that would know to add LD_LIBRARY_PATH to...
1
by: Bill Nguyen | last post by:
I would like to open for view only or editing different file types in VB.NEt. For example: PDF BMP JPEG GIF DOC etc...
8
by: Arno R | last post by:
Hi all. When I need to search for pictures, I always have too choose thumbnail-view manually. Is it possible to open the common dialog in thumbnail-view programmatically? Example ?? At the...
2
by: gaurav kashyap | last post by:
Dear all, I have a file in which i have written some shell commands to execute. Herein i require to open another shell prompt from this file. or simply i want to open a new shell prompt from an...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.