Page 1 of 1

How do I set the default folder for E++ to open up?

Posted: Mon Jul 05, 2021 10:51 am
by prr
I would like the default folder to open up as my D partition. But when I click on E++, it opens up what Windows calls This PC. This requires an extra click to see the D partition.

How can I change this?

Re: How do I set the default folder for E++ to open up?

Posted: Tue Aug 17, 2021 10:26 am
by tallguy297
Explorer++ has command line options...

Code: Select all

Usage: [OPTIONS] [directories...]

Positionals:
  directories TEXT ...        Directories to open

Options:
  -h,--help                   Print this help message and exit
  --clear-registry-settings   Clear existing registry settings
  --enable-logging            Enable logging
  --enable-plugins            Enable the Lua plugin system
  --register-for-shell-notifications
                              Watch for directory changes through SHChangeNotifyRegister
  --remove-as-default Excludes: --set-as-default
                              Remove Explorer++ as the default file manager
  --set-as-default ENUM:value in {filesystem->2,all->3} OR {2,3} Excludes: --remove-as-default
                              Set Explorer++ as the default file manager for the current user
  --language TEXT             Allows you to select your desired language. Should be a two-letter language code (e.g. FR, RU, etc).
So to change Explorer++ to open to Drive D:\ instead of PC, open a DOS command prompt and type in...

Code: Select all

reg add ""HKLM\SOFTWARE\Classes\Folder\shell\openinexplorer++\command"" /ve /t REG_SZ /d "\"Explorer++.exe\" --enable-plugins \"D:\\\"" /f >NUL
Remember to put the full path to Explorer++ after the REG_SZ /d.

To revert to previous settings...

Code: Select all

reg add ""HKLM\SOFTWARE\Classes\Folder\shell\openinexplorer++\command"" /ve /t REG_SZ /d "\"Explorer++.exe\" --enable-plugins \"%1\"" /f >NUL
I hope this information has been useful.