Yes you can use variables. You will nedd to use string concatenation to place them into the string that you want to use. For example, "String" & variable & "String"
However I don't understand what you are trying to do. The regedit command will open the registry and not a reg file. Files ending in .reg can be opened in notepad. Can you calrify what it is you are trying to do?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.