Jump to content
Sign in to follow this  
Dampe

The Run Command

Recommended Posts

Dampe

Hey guys, not too sure what I'm doing wrong here, so if someone could give me a point in the right direction i'd appreciate it.

I'm attempting to run World of Warcraft as so:

CODE
Run ("WoW.exe", $WoWdir, @SW_MAXIMIZE)

I keep getting the error:

Error: Unable to execute the external program.

The system cannot find the file specified.

I also tried replacing $WoWdir with C:\Program Files\World Of Warcraft\ (My wow directory) and I got the same error.

I must be doing something wrong <_<


Share this post


Link to post
Share on other sites
tannerli

If you want to type just "WoW.exe" you have to set your WorkingDirectory to C:\Program Files\World Of Warcraft\

FileChangeDir("C:\Program Files\World Of Warcraft)oÝ÷ Øëaz¼"±ì¨º¯zÚ.±æZ¶®¶­se'VâgV÷C´3¢b3#µ&öw&ÒfÆW2b3#µv÷&ÆBöbv&7&gBb3#µvõræWRgV÷C²Âb33cµvõvF"Â5uôÖÖ¦R £¶÷  ¥'Vâb33cµvõvF"fײgV÷CµvõræWRgV÷C²Âb33cµvõvF"Â5uôÖÖ¦R

Share this post


Link to post
Share on other sites
Dampe

Thankyou, <_<.

I used

CODE
Run($WoWdir & "\WoW.exe", $WoWdir, @SW_Maximize)
, and works well.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×