Custom Shell Application

G

Guest

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.
 
K

KM

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)
 
G

Guest

Thank you KM !!

KM said:
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top