Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Update Regitry One Time with a '.REG' file
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00743267
Message ID:
00743279
Views:
11
You can use WSH (Windows Script Host) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsMthRun.asp
oShell = CREATEOBJECT('WScript.Shell')
oShell.Run(lcMyFile)
or ShellExecute API #12636.

>We have an application that runs as an '.exe' and would like to update the registry with the contents of a file 'abc.reg'.
>Is the 'RUN abc.reg' the correct command to use to perform this task?
>
>TIA.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform