| | |
Getting currently running child process
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2007
Posts: 275
Reputation:
Solved Threads: 45
Hi,
I have written a v. small VB.NET program that spawns "cmd.exe" using Process, redirects stdin/out/err; works OK so far.
Does anyone know how to get :
* the details about the process currently running (if any) under cmd.exe (like how the command shell displays 'c:\windows\system32\cmd.exe - dir /s/b' when the dir command has been run); preferably not by using GetWindowText on the cmd.exe window
* the current directory of the command shell (even if some batch file or program has changed it)
Any help is much appreciated.
I have written a v. small VB.NET program that spawns "cmd.exe" using Process, redirects stdin/out/err; works OK so far.
Does anyone know how to get :
* the details about the process currently running (if any) under cmd.exe (like how the command shell displays 'c:\windows\system32\cmd.exe - dir /s/b' when the dir command has been run); preferably not by using GetWindowText on the cmd.exe window
* the current directory of the command shell (even if some batch file or program has changed it)
Any help is much appreciated.
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: vb.net Prevent Multiple instances running when Application.Restart()
- Next Thread: utility computing
| Thread Tools | Search this Thread |
"crystal .net .net2008 2008 access add advanced application array assignment basic beginner box browser button buttons center click code combo convert cpu cuesent data database datagrid datagridview datetimepicker designer dissertation dissertations dissertationtopic dosconsolevb.net editvb.net employees excel exists firewall forms html images isnumericfuntioncall listview map math memory mobile module msaccess mssqlbackend mysql navigate net number opacity open pan pdf picturebox picturebox2 port position print printpreview record regex reuse right-to-left save search serial settings socket sorting sqldatbase sqlserver storedprocedure temp textbox timer timespan transparency txttoxmlconverter useraccounts usercontol vb vb.net vb.nettoolboxvisualbasic2008sidebar vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web wpf wrapingcode xml year





