It seems that the command Shell() in VB.NET is becoming obsolete because of its out-datedness and other reasons, but i cant find a way i can still use a command line in my applications, Because I'm not that experienced with C#, I still don't know some of the basics, is there a way i can have the same usefullness of Shell() in C#, and please don't tell me to use Process.start() because that doesn't run command lines and the application that i have written in java sends information back to the console its running on, so it needs to be something similar to Shell(), if i can use Shell() in C# then please tell me how because i don't know how, thanks.
Webbsta
0
Light Poster
Recommended Answers
Jump to PostYou can use ProcessStartInfo class to help you I am attaching an example it could help
This example I wrote to help me to generate key file for com and com+ applications
public void GenerateKeyFile(string path) { string commandLine = " \"C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\Bin\\sn.exe\" …
All 4 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Webbsta
0
Light Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.