Dear Gurus
please help me to get a input value via dos batch file and write it in registry
for example i am giving i/p like d:\forms\,i need to write this i/p in registry
under hkey_local_meachine-software-oracle
Thanks
Antony
How towrite a i/p value in registry
Moderator: DosItHelp
Does i/p mean input?
Some more info would help. For variable input you can use:
to write a registry value you can use somthing like this:
Note: reg add adds the registry value or overwrites it if it already exists.
DOS IT HELP?
Some more info would help. For variable input you can use:
Code: Select all
set /p "input="
to write a registry value you can use somthing like this:
Code: Select all
reg add "HKLM\Software\Oracle" /v "<ValueName>" /d "%input%"
Note: reg add adds the registry value or overwrites it if it already exists.
DOS IT HELP?