I'm experiencing troubles trying to execute a console command (bcdedit /set {bootmgr} displaybootmenu yes) from a button on TC icons bar.
The code for this button included on default.bar is:
Code: Select all
button1=%COMMANDER_PATH%\Icons\Icons.dll,6
cmd1=cmd
param1=/q /k title From TC|bcdedit /set {bootmgr} displaybootmenu yes
path1=%COMMANDER_PATH%\
iconic1=0
menu1=BCDEDIT (restore Windows boot menu F8)
BUT! If I run a console command from the Windows start menu (with admin rights) a console window shows up and I'm able to type the command (bcdedit /set {bootmgr} displaybootmenu yes) and it actually works.
I use to launch other commands from buttons on TC successfully (using right-click and run as admin), such as this:
Code: Select all
button6=%COMMANDER_PATH%\Icons\icons.dll,12
cmd6=cmd
param6=/q /k title From TC|powercfg /hibernate off
path6=%COMMANDER_PATH%\
iconic6=0
menu6=Disable hibernation and deletes "hiberfil.sys" file
Thanks!