hozdaman Posted May 3, 2010 Share Posted May 3, 2010 Hi, I checked the helpfile and tried searching in the forums. I am working on a script that installs another app. I want to keep the setup file with my script so i can use it anywhere. I can't figure out how to use the @scripdir command. Can someone give me some guidance! Thanks. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted May 3, 2010 Share Posted May 3, 2010 Just use it like any other variable with a string inside. msgbox(0, "", @scriptdir & "dlklkgkl") .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
hozdaman Posted May 3, 2010 Author Share Posted May 3, 2010 Great Thanks. Like the example you showed me. I can do the same thing with using the run command, right? i.e. run @scripdir + dddd.exe Link to comment Share on other sites More sharing options...
JuraX Posted May 3, 2010 Share Posted May 3, 2010 (edited) Great Thanks.Like the example you showed me. I can do the same thing with using the run command, right?i.e.run @scripdir + dddd.exeIt has to be:run(@scriptdir & "dddd.exe")JuraX Edited February 23, 2013 by JuraX Link to comment Share on other sites More sharing options...
hozdaman Posted May 3, 2010 Author Share Posted May 3, 2010 Thanks. Link to comment Share on other sites More sharing options...
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