| | |
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 .net2005 30minutes 2005 2008 access account arithmetic array assignment basic binary bing box button buttons center check code combobox component connectionstring convert crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist excel file-dialog firewall folder ftp google hardcopy image images insert isnumericfuntioncall login math memory mobile ms navigate net networking opacity output passingparameters peertopeervideostreaming picturebox picturebox1 port print problemwithinstallation project record reports" save savedialog searchbox serial soap sorting string table tcp temp text textbox timer toolbox trim update updown useraccounts usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio web wpf





