Jump to content
Sign in to follow this  
Grey

Run() issues

Recommended Posts

Grey

Attempting to use a variable directory in Run()..

I have an ini file with

[settings]

Installation=D:\Program Files\Diablo II\

with

$installedat = IniRead( "test.ini", "Settings", "Installation", "n\a" )

I need to run "Game.exe" with the switches "-skiptobnet -w" on this variable directory

I can show you what I've tried, but that doesn't affect what it should be, so.. any help?

Edited by Grey

Share this post


Link to post
Share on other sites
Andreik

Attempting to use a variable directory in Run()..

I have an ini file with

[settings]

Installation=D:\Program Files\Diablo II\

with

$installedat = IniRead( "test.ini", "Settings", "Installation", "n\a" )

I need to run "Game.exe" with the switches "-skiptobnet -w" on this variable directory

I can show you what I've tried, but that doesn't affect what it should be, so.. any help?

Try this:

ShellExecute ( "Game.exe" , "-skiptobnet -w")

When the words fail... music speaks

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.