GetRegValue Default Field

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
logistician
Posts: 4
Joined: 02 Mar 2020 09:18

GetRegValue Default Field

#1 Post by logistician » 17 Jan 2023 15:47

Hi,

I was trying to use the GetRegValue function to retrieve the (Default) value for a key, but no matter what I try, I don't seem to be getting it. Does anybody know what the right syntax would be to achieve that result? Thank you.

https://www.dostips.com/?t=Function.GetRegValue

Compo
Posts: 600
Joined: 21 Mar 2014 08:50

Re: GetRegValue Default Field

#2 Post by Compo » 17 Jan 2023 18:35

Did you try using just "" as your second argument?

logistician
Posts: 4
Joined: 02 Mar 2020 09:18

Re: GetRegValue Default Field

#3 Post by logistician » 17 Jan 2023 22:15

Compo wrote:
17 Jan 2023 18:35
Did you try using just "" as your second argument?
You are a smart one, Compo...that did it, thanks.

Post Reply