①WIN+R,输入regedit,回车
②计算机HKEY_CLASSES_ROOTDirectoryBackgroundshell【可直接复制粘贴】,新建项JiShIQi,在(默认)的数值数据中输入 打开计时器 ,这将是右键显示的名字;
备注:这里也可在下面路径创建 计算机HKEY_CLASSES_ROOT*shell
③点击JiShIQi,右键,新建字符串,名称为Icon,这个名称不能修改,其数值数据中填写可执行文件路径,本例中为:D:GitPythonXddTimerXdd2TimerSimpledistTimerMainSimple.exe(步骤③可省略,但是右键没有图标)
备注:Icon的值也可指定一个icon文件的路径
④点击JiShIQi,右键,新建项,创建二级子节点command,这个名称不能修改,其(默认)的数值数据填写可执行文件路径,本例中为:D:GitPythonXddTimerXdd2TimerSimpledistTimerMainSimple.exe
⑤完成