Question: Why does MyHD default to My Documents when I try to add files for playback?https://www.avsforum.com/forum/showt...&&#post7212622
User Muse asks:
When I go into Control Panel, File Play Setup and go to Add a file, the file selection window defaults to My Documents instead of the MyHD work area. Is there a way I can make it default to the MyHD work area?
There evidently is, but I'm not sure that you really want to go there, Muse. MyHD maintains two Registry keys that store the paths to the last places from which you opened a file (ctrl-O) or added a file to the file list. Unless these folders are inaccessible, they will be the default folder for the next similar operation. (If they are inaccessible, e.g. offline LAN folders, you'll find yourself at your "my documents" location) You could force those keys to have some other value by merging the appropriate .reg file prior to opening MyHD. The two keys are named "File_Open" and "Filelist_Path". Knock yerself out!
-- more discussion --
MyHD stores the most recently used path
for ctrl-O and ConfigPanel->FilePlaySetup->AddItem at the following registry locations, respectively:
If these locations are not accessible, either because the folder was deleted or because the folder is otherwise inaccessible, MyHD will default to My Documents. This is quite common behavior for many windows applications but may be undesirable for MyHD usage in terms of convenience.
Terry Peterson has offered to suggest to MIT that if the directory referenced by FILE_OPEN or FILELIST_PATH is inaccessible, the MyHD app should instead default to HD_DIR_NAME_FOR_RESCAP, which is the default directory used for captures, rather than My Documents.
"I agree that having the File Open dialog default to HD_DIR_NAME_FOR_RESCAP (i.e., the Capture Option Capture Directory) would make sense and is probably not a big deal. I'll suggest that for the 'next version'."
In the mean time you have 2 options to avoid this behavior:
1) don't delete the folder last referenced by ctrl-O or AddItem thus never triggering this behavior
2) run MyHD app using a batch file which resets FILE_OPEN and FILELIST_PATH to your desired path everytime the app starts upMyHDPATH.reg
regedit /s MyHDPATH.reg