Jump to content
Sign in to follow this  
Revolter

Modify Registry

Recommended Posts

Revolter

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.