Grey Posted July 18, 2008 Posted July 18, 2008 (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 July 18, 2008 by Grey
Andreik Posted July 18, 2008 Posted July 18, 2008 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")
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now