Jump to content



Photo

Dynamic "save As" Path


  • Please log in to reply
4 replies to this topic

#1 BigEfromDaBX

BigEfromDaBX

    Advanced Member

  • Members
  • PipPipPip
  • 323 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 05 August 2018 - 10:00 AM

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.



#2 pash

pash

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 3115 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 05 August 2018 - 10:14 AM

try

https://wiki.ubotstu.../Special_Folder


New Plugin:: Advanced Facebook | Advanced Connection | Advanced Twitter | Advanced Email | Advanced PowerPoint
- Advanced Data Text File | Advanced DateTime | Advanced Dialog | Advanced Document | Advanced Google Blogger V3 | Advanced Google Drive | Advanced Google YouTube V3 | Advanced Image | Advanced Video | Advanced Screen and Windows | Advanced Systems | Advanced Ubot 1 | Advanced Ubot 2 | Advanced WordPress | Advanced Connection | Advanced Twitter | Advanced Email | Advanced PowerPoint

- Advanced Captcha (V3) | Advanced Captcha (V2) (Old) | Create Table From Excel (Lite) | Check Conection | Ubot Enter License | Auto Free Memory
- Working hours GMT+7. i regret sometimes the answer is delayed due to health problems.


#3 BigEfromDaBX

BigEfromDaBX

    Advanced Member

  • Members
  • PipPipPip
  • 323 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 05 August 2018 - 10:19 AM

@pash. Thanks. But doesn’t that limit to the desktop, documents, system etc folders only?


Sent from my iPhone using Tapatalk Pro

#4 bestmacros

bestmacros

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 378 posts
  • LocationIsrael
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 05 August 2018 - 10:34 AM

@pash. Thanks. But doesn’t that limit to the desktop, documents, system etc folders only?


Sent from my iPhone using Tapatalk Pro

Use "application folder" parameter - this will use the folder where ubot exe is located


bestmacros.jpg


#5 BigEfromDaBX

BigEfromDaBX

    Advanced Member

  • Members
  • PipPipPip
  • 323 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 05 August 2018 - 10:35 AM

Use "application folder" parameter - this will use the folder where ubot exe is located


Got it. Thanks :-)


Sent from my iPhone using Tapatalk Pro




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users