DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Path settings ?  (Read 11,716 times)

MohKraats

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 19
Path settings ?
« on: February 28, 2019, 10:35 AM »
Hello Mouser,

Where can I set the default path to files like logfile and .ini settings ?
After installation on a PC that is on a network, and has its userprofile on a server,
The program complaints about missing rights for creating files on that server....

Best regards

MohKraats

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 19
Re: Path settings ?
« Reply #1 on: February 28, 2019, 11:16 AM »
Just went a bit deeper.
Seems the app does not have rights to create directories.
Once the directories are in place, creating the files is no issue.
So, that way, I got it to run.

Would be nice though to be able to customize the path....

For the rest, just a very nice and pleasant small program.

Best regards

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Path settings ?
« Reply #2 on: February 28, 2019, 01:39 PM »
Hi Mohkraats.

I'm glad it's useful to you.

In general with my apps, you can either download the portable version and put it where you want, or use the setup version which should use default MyDocuments folders.

And it should be able to create its own folders in those places.

In unusual cases where the default locations have permissions that don't allow the program to write to them, the best solution is to edit the configdir.ini file in the program directory; my apps check that and it will let you set a custom directory where files should be saved.

MohKraats

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 19
Re: Path settings ?
« Reply #3 on: March 01, 2019, 05:42 AM »
Thanks,
That will do the trick.

Keep on coding

Mohammed

Original address: https://www.donationcoder.com/forum/index.php?topic=47242.0