Sign in to follow this  
Followers 0
Grey

Run() issues

2 posts in this topic

#1 ·  Posted (edited)

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



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  
Followers 0