Re: Menu contextuel de l'Explorateur de fichiers - Ouvrir, redémarrer l'Explorateur...

Publié par Wullfk le 12/06/2017 15:46:20
Une petite correction effectuée par Mixam dans les deux scripts.

Sur les lignes en gras, il manquait "NameSpace"

' *** Musiques ***
cmds=wshShell.run("REG ADD ""HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}"" /F", 0, True)
cmds=wshShell.run("REG ADD ""HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}"" /F", 0, True)
cmds=wshShell.run("REG ADD ""HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}"" /F", 0, True)
cmds=wshShell.run("REG ADD ""HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}"" /F", 0, True)

' *** Téléchargements ***
cmds=wshShell.run("REG ADD ""HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}"" /F", 0, True)
cmds=wshShell.run("REG ADD ""HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}"" /F", 0, True)
cmds=wshShell.run("REG ADD ""HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}"" /F", 0, True)
cmds=wshShell.run("REG ADD ""HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}"" /F", 0, True)

Cette contribution était de : http://www.gratilog.net/xoops/newbb/viewtopic.php?forum=18&topic_id=14267&post_id=181508