Revolter Posted March 25, 2011 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]
ripdad Posted March 26, 2011 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
Revolter Posted March 26, 2011 Author 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]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now