Revolter 0 Posted March 25, 2011 Could someone help me with a little scipt that MODIFIES (not creates) the "(Default)" 's string data?i tried: RegWrite( "HKCR\*\shell\script\command" , "(Default)" , "REG_SZ" , "c:\script.exe %1" ) but it creates another "(Default)" string besides the already existing one. [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Share this post Link to post Share on other sites
ripdad 100 Posted March 26, 2011 The helpfile explains: "To access the (Default) value use "" (a blank string) for the valuename." RegWrite("HKCR\*\shell\script\command", "", "REG_SZ", "c:\script.exe %1") "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward Share this post Link to post Share on other sites
Revolter 0 Posted March 26, 2011 The helpfile explains: "To access the (Default) value use "" (a blank string) for the valuename."RegWrite("HKCR\*\shell\script\command", "", "REG_SZ", "c:\script.exe %1")Thank yopu very much. I'm so sorry i opened a thread without paying more attention at the help file. [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Share this post Link to post Share on other sites