- Joined
- Jun 14, 2006
- Messages
- 12,787
- Likes received
- 430
- Thanks received
- 106
- Location
- Gods own Country
Option explicit
dim oShell
set oShell= Wscript.CreateObject("WScript.Shell")
oShell.Run "runas /user:administrator ""CrossLoop.exe"""
WScript.Sleep 100
oShell.Sendkeys "password~"
Wscript.Quit
In XP Home I'm trying to get crossloop running on a user level account as admin by using a VBS script - this returns 'cannot load xml file' although the script is in the shared crossloop folder. Dya think it's an environmental variable that needs defining?
If I manually click the crossloop icon and do a RunAs from the user desktop everything works fine