Sign in to follow this  
Followers 0
Revolter

Modify Registry

3 posts in this topic

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



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")


"Today's scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality." ~ Nikola Tesla

Share this post


Link to post
Share on other sites

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  
Followers 0