NewTechLife 3 Posted May 19, 2013 Report Share Posted May 19, 2013 I was wondering when I sell the bot how do I make it so that it automatically gets saved into a folder in the program files or something similar when they download it? I want to be able to have one specific spot where they download it so that I can recognize where the bot is saved and save all "setting" files for the bot into the same folder Quote Link to post Share on other sites
andymurray 2 Posted May 19, 2013 Report Share Posted May 19, 2013 Hi, I don't know if this is what you mean, but it's what i have donein my bots... Create a folder 'MyBot' Within that folder is your bot and a another folder called'settings'. Now within your bot, save settings to the 'settings' folder byusing the 'special folder' command. So in this case it would be'Application'. So it should look something like this... Application\Settings Now it doesn't matter where they save your download. Andy 1 Quote Link to post Share on other sites
NewTechLife 3 Posted May 19, 2013 Author Report Share Posted May 19, 2013 I would rather everything stay in the same place makes it nicer. I got a great tip from meter suggesting I use an installer, anyone have any good ideas on some installers to use? Quote Link to post Share on other sites
UBotDev 276 Posted May 19, 2013 Report Share Posted May 19, 2013 In UBot use function "special folder" and option "Application Folder", which will return location of your bot/exe file; this way you'll be able to get "ROOT" folder, no mater where the files are saved. 1 Quote Link to post Share on other sites
NewTechLife 3 Posted May 19, 2013 Author Report Share Posted May 19, 2013 Oh I had the Application Folder confused with a preset folder already in windows like Program Files. Solid guys thanks Quote Link to post Share on other sites
UBotDev 276 Posted May 19, 2013 Report Share Posted May 19, 2013 As you may noticed "Program Files" have a its own option under "special folder" function. Quote Link to post Share on other sites
NewTechLife 3 Posted May 20, 2013 Author Report Share Posted May 20, 2013 I did see that, but I thought Application was a folder similair to that type, not the folder that the bot is in... it's a kickass function 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.