Assuming you mean the Shell method from VB6, the problem
is probably due to the fact that command.com is not
resident in the root directory. Even if it were it's just
not a good idea to code it that way. Use the %COMSPEC%
environment variable instead to reference the command
processor.
shell "%comspec% /c c:\mcafee\sdat4295.exe /silent"
Then it will work on any system, even those that have
Cmd.exe as a command processor, residing in the
WINNT\System32 folder.
Tom Lavedas
===========
>-----Original Message-----
>shell "c:\command.com /c c:\mcafee\sdat4295.exe /silent"
>
>TIA
|