Under a limited user account, I have been using a batch to run devcon to disable my Ethernet connection as added security.

I thought about making a program to run that batch file and maybe cut out one step.

Would ShellExecute be the best way?

Thanks.



Posted on 2009-08-22 07:53:36 by skywalker
Sure, the shelled process assumes the privileges of the user that launched it.
Perfect.
Posted on 2009-08-22 08:46:11 by Homer