Jump to content
Sign in to follow this  
petfish

run dont run doom!

Recommended Posts

Hi

im making a gui for a gaming lounge, everything works fine but this game.. doom 3

I want to do this

run("C:\Program Files\Doom 3\doom3.exe")oÝ÷ ÙÊ&¦)^v+ZÚeiÇا¶¢·v*ÞrÚ+Ê'h¹¹^rXçbµ©ÝÚÚø§y»­Â§¶§¶¬~º&(.'±iËeÊØ^±©zºè­«yú+{}÷ÜÎ51LÏ,AAHAÄ,ý÷ßx^­ë-ç(u殶­sfbb33c¶vÖRÒgV÷C´FööÓ2gV÷C²FVà¢6÷VæEÆgV÷Cµ$TÔäDU"åtbgV÷C²¢bfÆTW7G2gV÷C´3¢b3#µ&öw&ÒfÆW2b3#´FööÒ2b3#¶FööÓ4uTURæWRgV÷C²FVà¢'VâgV÷C´3¢b3#µ&öw&ÒfÆW2b3#´FööÒ2b3#´FööÓ4uTURæWRgV÷C²¤VæD`oÝ÷ Ø:(q EÄ{¢{Z{-+%w¨ºÚ"µÍ[    ][ÝÐÎÌLÔÙÜ[H[ÉÌLÑÛÛHÉÌLÑÛÛLÑÕRQVK^I][ÝÊ

Share this post


Link to post
Share on other sites

Did you try adding a working directory parameter to your Run()

run("Doom3.exe", "C:\Program Files\Doom 3\")

Share this post


Link to post
Share on other sites

Did you try adding a working directory parameter to your Run()

run("Doom3.exe", "C:\Program Files\Doom 3\")

just tried it now i got this error

"run("Doom3.exe", "C:\Program Files\Doom 3\")

The system cannot find the file specified."

it definitly exists there

Share this post


Link to post
Share on other sites

I figured it out

ShellExecute("Doom3.exe", "", "c:\program files\doom 3\")

i tried this earlier but i missed the middle bit -- ,"", so it took my working directory as a parameter...der!!

Sorry to wast your time but thanks all for your help <_<

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  

×
×
  • Create New...