Allan,
In this case you can use ShellExecute.
>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.aspoShell = 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--