BigEfromDaBX 25 Posted August 5, 2018 Report Share Posted August 5, 2018 So I have a bot that I compiled which uses a sqlite db. But when creating my bot, I have to set the actual path of where the DB is located at that moment. Is there a way that I can drop my compiled .exe file along with the DB file and it will run from any folder that I execute the .exe file from? I would like this also work with commands like "save to file" and any other commands require saving or opening files. Thank you in advance. Quote Link to post Share on other sites
pash 504 Posted August 5, 2018 Report Share Posted August 5, 2018 tryhttps://wiki.ubotstudio.com/wiki/Special_Folder Quote Link to post Share on other sites
BigEfromDaBX 25 Posted August 5, 2018 Author Report Share Posted August 5, 2018 @pash. Thanks. But doesn’t that limit to the desktop, documents, system etc folders only? Sent from my iPhone using Tapatalk Pro Quote Link to post Share on other sites
bestmacros 60 Posted August 5, 2018 Report Share Posted August 5, 2018 @pash. Thanks. But doesn’t that limit to the desktop, documents, system etc folders only? Sent from my iPhone using Tapatalk ProUse "application folder" parameter - this will use the folder where ubot exe is located 1 Quote Link to post Share on other sites
BigEfromDaBX 25 Posted August 5, 2018 Author Report Share Posted August 5, 2018 Use "application folder" parameter - this will use the folder where ubot exe is locatedGot it. Thanks :-) Sent from my iPhone using Tapatalk Pro Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.