Page 1 of 1
Right click context entries not showing up
Posted: 20.07.2020, 11:07
by mikip
Hi,
Started using FeeeCommander a couple of months ago and really like it.
One thing though I can't see how this is not working. in Explorer, we have created some Right Click context entries which invoke various batch files that create a set of defined directories.
We did this by creating registry entries like this:
[HKEY_CLASSES_ROOT\Directory\Background\shell\Create Gemini Folders\command]
@="P:\\Software\\Tools\\CreateGeminiDirectories.bat"
However, in FreeCommander, when I right-click a folder, these don't show up?
Any ideas how I could get this to work?
Many thanks in advance
Mike
Re: Right click context entries not showing up
Posted: 21.07.2020, 22:32
by Marek
Could you show your example of the bat file?
How it works currently in windows explorer if you right click on one folder? Where will be the new folder created?
Re: Right click context entries not showing up
Posted: 02.10.2020, 10:44
by mikip
Hi Marek,
Apologies, I thought I'd set the post to notify me when there was a reply but didn't get anything so missed your repsonse.
Basically, there appears to be 2 right-click context menus.
- When you right-click on a folder or file which is the same one I see in FreeCommander. My commands do not appear in that menu and behave the same as FeeeCommander.
- When you right-click the white space in Explorer (so no object), I get a different context menu and my entries are in this menu (sorry, can't seem to attach a screenshot but could send you one). I am unable to see this menu in FreeCommander. If I right click in the window and not a file or folder and choose context menu, I get the same as above
Batch file is very simple and looks like this
md "Documentation\AdminInternal"
md "Documentation\From Client"
md "Design\Examples"
md "Design\Resources"
md "SourceData\Original"
md "SourceData\Production"
md Testing
md Code
md Deployment
Thanks
Mike
Re: Right click context entries not showing up
Posted: 03.10.2020, 14:57
by Marek
Commands from background are currently not supported.
However, you can achieve your goal if you define your command under
Code: Select all
HKEY_CLASSES_ROOT\Folder\shell\Create Gemini Folders\command
Define the command as:
Code: Select all
P:\\Software\\Tools\\CreateGeminiDirectories.bat "%1"
Modify your bat file as
Code: Select all
cd "%1"
md "Documentation\AdminInternal"
md "Documentation\From Client"
md "Design\Examples"
md "Design\Resources"
md "SourceData\Original"
md "SourceData\Production"
md Testing
md Code
md Deployment
Now you can use the command from context menu on the folder.
Re: Right click context entries not showing up
Posted: 05.10.2020, 12:05
by mikip
Hi Marek,
Thanks for the reply.
That's great - Thanks!
I had to make a tweak to the batch file to this otherwise it wasn't changing directory.
cd /d %1
Reg file entry looks like this
@="\"P:\\Software\\Tools\\CreateSecureFilesDirectoriesRoot.bat\" \"%1\""
Just a quick question: Is there any setting to show this menu without clicking "context menu" each time?
Thanks
Mike
Re: Right click context entries not showing up
Posted: 06.10.2020, 20:15
by Marek
You can simply define new
favorite tool.
Program or folder:
Code: Select all
P:\Software\Tools\\CreateSecureFilesDirectoriesRoot.bat
Parameter:
With the %ActivDir% parameter you muss open the folder where you want create the subfolders.
In the bat file you do not need the line with "cd /d %1".