Request relative paths
Posted: 28.10.2008, 02:07
Is there a way to allow paths to be relative?
For example, I use folders that are on my USB drive (which is where I run FreeCommander from), is there a way to define a tab to use Relative paths so that if my drive letter changes (from D: to E:, for example), then I still have my active tabs set to the right folder.
Is there a way to use the built-in environment variable, %FcSrcDrive%, to do this? I use it currently to point to my programs I used to edit files.
Or, this could be done perhaps by checking each drive for the "active folder", and opening (in separate tabs) each drive with the given folder (in rare case when a given folder appears on multiple drives, and thus the intended drive cannot be known). This way, the intended drive can be kept, and others optionally closed.
Of course, other ways may be done to allow the program to "guess" which drive was the requested drive. Also, the program might want to say if the drive is a hard drive, flash drive, CD/DVD drive (if possible). This way, one doesn't need to check, for example, the local drive for the viewed folder if it is known to have been opened on a flash drive.
Another way would include storing the list of files/folders in the viewed directory and checking that a "majority" (some percent) where in the given folder on a specific drive. For example, if I have a folder on my USB drive D:\test and D: is known to be a removable drive (tested by the program, or user set as relative), and I load FreeCommander on a computer where my flash drive is now E:, it could check the contents of E:\test against the stored folders/files to see if the two lists are "similar" and thus "could" be referring to the same path. Testing for identical file lists will pose problems if any folder/file is renamed, moved, or deleted (or files are added). This is why a "similarity" test could be used. Just some suggestions.
If this is not possible, is there an option (whether currently in use, or to be added), to prevent the program from closing "invalid" tabs when the tab is selected?
For example, if I have E: on a tab, but my flash drive is now for D:, I would want the tab to remain open even though E: is "invalid".
Thank you for your time and any response. You can email me at crossthei.thet@gmail.com with any questions or for further inquiry.
For example, I use folders that are on my USB drive (which is where I run FreeCommander from), is there a way to define a tab to use Relative paths so that if my drive letter changes (from D: to E:, for example), then I still have my active tabs set to the right folder.
Is there a way to use the built-in environment variable, %FcSrcDrive%, to do this? I use it currently to point to my programs I used to edit files.
Or, this could be done perhaps by checking each drive for the "active folder", and opening (in separate tabs) each drive with the given folder (in rare case when a given folder appears on multiple drives, and thus the intended drive cannot be known). This way, the intended drive can be kept, and others optionally closed.
Of course, other ways may be done to allow the program to "guess" which drive was the requested drive. Also, the program might want to say if the drive is a hard drive, flash drive, CD/DVD drive (if possible). This way, one doesn't need to check, for example, the local drive for the viewed folder if it is known to have been opened on a flash drive.
Another way would include storing the list of files/folders in the viewed directory and checking that a "majority" (some percent) where in the given folder on a specific drive. For example, if I have a folder on my USB drive D:\test and D: is known to be a removable drive (tested by the program, or user set as relative), and I load FreeCommander on a computer where my flash drive is now E:, it could check the contents of E:\test against the stored folders/files to see if the two lists are "similar" and thus "could" be referring to the same path. Testing for identical file lists will pose problems if any folder/file is renamed, moved, or deleted (or files are added). This is why a "similarity" test could be used. Just some suggestions.
If this is not possible, is there an option (whether currently in use, or to be added), to prevent the program from closing "invalid" tabs when the tab is selected?
For example, if I have E: on a tab, but my flash drive is now for D:, I would want the tab to remain open even though E: is "invalid".
Thank you for your time and any response. You can email me at crossthei.thet@gmail.com with any questions or for further inquiry.