PC Review


Reply
Thread Tools Rate Thread

Custom Shell Application

 
 
=?Utf-8?B?bmFtaQ==?=
Guest
Posts: n/a
 
      13th Mar 2007
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.

 
Reply With Quote
 
 
 
 
KM
Guest
Posts: n/a
 
      14th Mar 2007
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.



 
Reply With Quote
 
=?Utf-8?B?bmFtaQ==?=
Guest
Posts: n/a
 
      15th Mar 2007
Thank you KM !!

"KM" wrote:

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

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Custom Application on Custom Shell. kim Windows XP Embedded 2 25th Aug 2005 11:33 AM
Re: Custom Application on Custom Shell. kim Windows XP Embedded 0 25th Aug 2005 05:06 AM
Start Application (Shell) / Custom Button Jos Vens Microsoft Outlook VBA Programming 2 18th Feb 2004 07:06 PM
problems running application under custom shell Defcon31 Windows XP Embedded 2 18th Dec 2003 12:41 PM
Re: What is Custom Shell Application??? Andy Allred [MS] Windows XP Embedded 0 26th Aug 2003 04:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:39 AM.