Hi Alex,
Very nice. Made it into a callable function returning a boolean.
I could also easily add a service to prog plugin that does same thing.
Would be a call to just one win32 api function:
DWORD SearchPath( LPCTSTR lpPath, // address of search path
LPCTSTR lpFileName, // address of filename
LPCTSTR lpExtension, // address of extension
DWORD nBufferLength, // size, in characters, of buffer
LPTSTR lpBuffer, // address of buffer for found filename
LPTSTR *lpFilePart // address of pointer to file component
);
Or Russel could add it to MiscPlugin.
Or we could just be happy with your excellent script...
--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote:
> Use this script if you want to circumvent %COMSPEC%:
>
> ; --- script begins here
>
> Local EXEFile = "Notepad.exe"
>
> ; ---
>
> Local EXEOnPath = 0
> Local Path = ReplaceChars(Env("Path"), ";", "'n")
>
**** EDIT YOUR POSTINGS !!!! ****
Please remove as much as possible from original messages before replying to them.
________________________________________________
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/