Hey there
I wanna run basic windows command in my c# program (for example- I want to run 'set' , in order to get a list of all my environment variables. or even run 'dir')
Please help
Thanks
Goz
Hey there
I wanna run basic windows command in my c# program (for example- I want to run 'set' , in order to get a list of all my environment variables. or even run 'dir')
Please help
Thanks
Goz
And if you get no joy from music hall
Remember there is always alcohol
And If you get no joy from Gin
Here is the abyss jump in
Take a look at the System.Diagnostics.Process object in your documentation:
http://ms-help://MS.VSCC/MS.MSDNVS/c...mberstopic.htm
Speedy's solution is fine. However, for the examples you provided there are other functions that can handle what you need. Look for Environment in your help for example.
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.