Hello All, just found out about Neowin, looks fantastic!
I have what I think is a very simple question in VB.NET, I'm just starting out with the language.
To run a standard application, I typically run:
Shell(mxcl -d)
within a button to launch the program in question. I'd like however to be able to run this command to a comptuer on my lan (remote computer). I've tried PsExec with no luck. I've tried something along the lines of:
Shell(psexec \\computerName -u "my name" -p Password "mxcl -d")
Not sure if I'm using PsExec correctly, but that's besides the point. I don't need to use PsExec at all, just want my remote computers to launch these programs!
Thanks for reading, any help would be greatly appreciated!
Question
cicero38
Hello All, just found out about Neowin, looks fantastic!
I have what I think is a very simple question in VB.NET, I'm just starting out with the language.
To run a standard application, I typically run:
Shell(mxcl -d)
within a button to launch the program in question. I'd like however to be able to run this command to a comptuer on my lan (remote computer). I've tried PsExec with no luck. I've tried something along the lines of:
Shell(psexec \\computerName -u "my name" -p Password "mxcl -d")
Not sure if I'm using PsExec correctly, but that's besides the point. I don't need to use PsExec at all, just want my remote computers to launch these programs!
Thanks for reading, any help would be greatly appreciated!
hahaha: "Resident One Post Wonder"... i'm new!
Link to comment
https://www.neowin.net/forum/topic/605601-vbnet-remote-shell-command-help-please/Share on other sites
4 answers to this question
Recommended Posts