OchoNueve Posted June 25, 2009 Share Posted June 25, 2009 I some help with this situation: I am trying to do a Run() but I am getting quite confused. This is the deal. My run command looks like this: Run('C:\One\Two\Three.exe -A1 "four" -A2 "five" -A3 "six" -A4 "seven"',"C:\One\Two"), but I need the C:\One\Two to be a variable, like $var = "C:\One\Two" and I don't know how to incorporate that into my Run() command. Any help? Thanks. [font="Times New Roman"]Ocho.[/font] Link to comment Share on other sites More sharing options...
spudw2k Posted June 25, 2009 Share Posted June 25, 2009 Run($var & '\Three.exe -A1 "four" -A2 "five" -A3 "six" -A4 "seven"',$var) Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
OchoNueve Posted June 25, 2009 Author Share Posted June 25, 2009 Run($var & '\Three.exe -A1 "four" -A2 "five" -A3 "six" -A4 "seven"',$var)Wow it was that easy! Thanks spudw2k. [font="Times New Roman"]Ocho.[/font] 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