opusnt.runReg(["delete",opusnt.regTmpPath + "software\\Classes\\Drive\\shell\\cmd","/f"],check=False) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Drive\\shell\\cmd","/ve","/t","REG_SZ","/d","Open &command window here","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Drive\\shell\\cmd","/v","NoWorkingDirectory","/t","REG_SZ","/d","","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Drive\\shell\\cmd","/v","Icon","/t","REG_SZ","/d","C:\\Windows\\System32\\cmd.exe,0","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Drive\\shell\\cmd\\command","/ve","/t","REG_SZ","/d","cmd.exe /s /k cd /d %V","/f"]) opusnt.runReg(["delete",opusnt.regTmpPath + "software\\Classes\\Directory\\shell\\cmd","/f"],check=False) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Directory\\shell\\cmd","/ve","/t","REG_SZ","/d","Open &command window here","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Directory\\shell\\cmd","/v","NoWorkingDirectory","/t","REG_SZ","/d","","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Directory\\shell\\cmd","/v","Icon","/t","REG_SZ","/d","C:\\Windows\\System32\\cmd.exe,0","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Directory\\shell\\cmd\\command","/ve","/t","REG_SZ","/d","cmd.exe /s /k cd /d %V","/f"]) opusnt.runReg(["delete",opusnt.regTmpPath + "software\\Classes\\Directory\\Background\\shell\\cmd","/f"],check=False) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Directory\\Background\\shell\\cmd","/ve","/t","REG_SZ","/d","Open &command window here","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Directory\\Background\\shell\\cmd","/v","NoWorkingDirectory","/t","REG_SZ","/d","","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Directory\\Background\\shell\\cmd","/v","Icon","/t","REG_SZ","/d","C:\\Windows\\System32\\cmd.exe,0","/f"]) opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Directory\\Background\\shell\\cmd\\command","/ve","/t","REG_SZ","/d","cmd.exe /s /k cd /d %V","/f"])