hello ,i have a simple question.
if a sqlite database is not in the same directory with the mush exe file, how can i access and operate the sqlite database?
Specify the full path name when you open it. Or a relative one, if possible.
For example:
GetInfo (66) .. "databases\\mydatabase.db" -- a subdirectory of MUSHclient.exe
or:
"C:\\somewhere\\mydatabase.db"
Amended on Sat 06 Nov 2010 04:40 AM by Nick Gammon
yeah.i didn't double use \\.
now the problem solved .thanks!
I believe you can also use forward slashes...so you don't have to remember to "escape" the backslashes in the path.
ie:
GetInfo (66) .. "databases/mydatabase.db" -- a subdirectory of MUSHclient.exe
or:
"C:/somewhere/database.db"
Amended on Sat 06 Nov 2010 03:02 PM by LezChap