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: Settings on Unavailable Network Drive  (Read 5,781 times)

d_train

  • Participant
  • Joined in 2019
  • *
  • Posts: 2
Settings on Unavailable Network Drive
« on: April 23, 2019, 06:10 PM »
I'm using a directory on a mapped network drive as the location for My Documents.

Sometimes at startup, when the network connection takes a little longer to get established, Screenshot Capture will launch and not be able to find "U:\My Documents\DonationCoder\ScreenshotCaptor\ScreenshotCaptor.ini"

When this occurs, SC reverts to the default settings and tries to create a directory, but displays 'error creating non-existing directory "DonationCoder\ScreenshotCaptor\Screenshots" '. When this happens I'm unable to take any captures unless I restart the application after the network drive is available. If I forget and try to take a screenshot before restarting, the app hangs with an error message because it's trying to save the image to a non-existing directory. A force-quit and restart is the only way to escape.

The "About" screen displays the message:
  Settings stored in: DonationCoder\ScreenshotCaptor\
  WARNING: This directory does not exist; settings may not be saved properly.

I don't mind using a different (local) directory for storing my settings, but how can I change the default location for the ScreenshotCaptor.ini file?

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: Settings on Unavailable Network Drive
« Reply #1 on: April 23, 2019, 06:23 PM »
Quote
I don't mind using a different (local) directory for storing my settings, but how can I change the default location for the ScreenshotCaptor.ini file?

Edit the ConfigDir.ini file in the installation location of Screenshot Captor -- there you can specify the location where you want your Screenshot Captor settings file (ScreenshotCaptor.ini) and related files to be stored.

Let me know if that helps!

d_train

  • Participant
  • Joined in 2019
  • *
  • Posts: 2
Re: Settings on Unavailable Network Drive
« Reply #2 on: April 23, 2019, 07:01 PM »
Thank you mouser! Your suggestion worked like a charm.

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: Settings on Unavailable Network Drive
« Reply #3 on: April 23, 2019, 08:51 PM »
:up:

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