Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Update Regitry One Time with a '.REG' file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00743267
Message ID:
00743312
Vues:
11
Sergey,

Is WSH a 'function' that can be disabled in Windows Explorer or some other security patch from MS?
I am looking for a command that is * guaranteed * to be sucessful on Windows 98+.
TIA.


>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.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform