blakel Posted February 25, 2005 Share Posted February 25, 2005 When using regwrite i would like to know how to put in the last argument. there is no documentation on this and the forums have several answers. so i was wondering the most ideal / correct way. RegWrite($key,$val,"REG_DWORD","1") -or- RegWrite($key,$val,"REG_DWORD","0x00000001") -or- RegWrite($key,$val,"REG_DWORD",1) -or- RegWrite($key,$val,"REG_DWORD",0x00000001) -or- none of the above thanks Link to comment Share on other sites More sharing options...
DaveF Posted February 25, 2005 Share Posted February 25, 2005 When using regwrite i would like to know how to put in the last argument.there is no documentation on this and the forums have several answers.so i was wondering the most ideal / correct way.RegWrite($key,$val,"REG_DWORD","1")-or-RegWrite($key,$val,"REG_DWORD","0x00000001")-or-RegWrite($key,$val,"REG_DWORD",1)-or-RegWrite($key,$val,"REG_DWORD",0x00000001)-or-none of the abovethanks<{POST_SNAPBACK}>You should use numeric values since you're writing numeric data, so one of the latter two... If you're more comfortable with decimal values then the third choice is fine, but the benefit of the last is that the value you write will appear the same as what you see in the registry... Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines. Link to comment Share on other sites More sharing options...
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