Jump to content

Recommended Posts

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
Posted

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")

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...