nami,
Shell is launched by Winlogon. It doesn't yet know anything about file associations. SO you have to use an path there to an
executable.
Typically is it a responsibility of the shell app to map appropriate registry keys to file extensions (with some exceptions,
though).
If you want to launch a script you should probably create a simple program that will spawn another process (wscrpit or cscript in
your case) providing the path to script as an argument.
(.bat file is also a script and requires CMD processor to be launched)
--
=========
Regards,
KM
> Hi,
>
> I would like to know the form of the file described in cmiShellpath that is
> able to run in custom shell.
> I'm trying to run VB Script (.vbs file), but it doesn't work.
> Which means that only .exe and .bat are possible to run?
>
> Thank you very much!
> nami.
|