View Single Post
Old 05-17-2012, 07:21 PM   #1
DVus
Junior Member
DVus began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2012
Device: Multiple
Portable 0.8.51 getting "handle is invalid" error

I have a thumb drive that I have placed Portable 0.8.51 on. I have copied my Library to the drive, and confirmed that I am able to open Portable on my desktop. I moved the thumb drive to my laptop, so that I could import the books into the Library. However, when I try to run Portable on the laptop I get the attached error popup indicating that a handle is invalid.

I have isolated the issue to be that the drive letter assigned to the thumb drive on the desktop when I initially ran the program was M:, and the drive letter assigned to the thumb drive on the laptop was Z: and thus the program is looking on a non-existent M: when the thumb drive is plugged into the laptop. I opened and read a couple of the files in the Settings folder to figure this out.

This invalidates my plan for using Portable. If it is hard coded to a specific drive letter, I cannot move this from one machine to another unless the thumb drive will receive the same drive letter on each machine, in which case why do I want to use Portable at all?

My questions are:
1. Is there a way to have Portable look at the current drive letter rather than a drive letter assignment being hard coded into the config files?
2. Can I edit those files to change M: to something like <current drive>?
3. Can I delete the contents of the Settings folder and have Portable regenerate those for the current drive letter assignment if I move the thumb drive from one machine to another?

Thanks for reading and thinking about this...
Attached Thumbnails
Click image for larger version

Name:	Error.jpg
Views:	529
Size:	23.1 KB
ID:	86559  
DVus is offline   Reply With Quote