Okular 10 Posted February 3, 2008 Report Posted February 3, 2008 Hallo! Weiß jemand, wie ich die exec()-methode unter anderem Benutzer aufrufen kann? Also irgendwie in der Form obj = Set WSHShell = WScript.CreateObject("WScript.Shell") WSHShell.Exec "c:\temp\sample.exe" Problem ist nämlich, dass die sample.exe unter adminrechten aufgerufen werden muss. Okular Quote
woiza 10 Posted February 3, 2008 Report Posted February 3, 2008 Mach doch WSHShell.Exec "runas /user:blah sample.exe" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.