AntiVirusGuy Posted November 26, 2005 Share Posted November 26, 2005 runasset($user,$domain, $password) $launchfile= GUICtrlCreateInput("", 8, 56, 553, 21, -1, $WS_EX_CLIENTEDGE) GUICtrlSetState(-1,$GUI_ACCEPTFILES) Run($launchfile, $launchfile - filename)?????????? using the runasset command I have to specify the working directory to work on our domain I have tried everyway around it any ideas? Link to comment Share on other sites More sharing options...
LxP Posted November 26, 2005 Share Posted November 26, 2005 Local $FilePath = 'C:\Program Files\Program Folder\Program.exe' Local $FileFolder = StringLeft($FilePath, StringInStr($FilePath, '\', 0, -1) - 1) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now