Could you modify the script path search handler so it will just quietly
ignore a  path element if it doesn't exist?

I thought I would set up this situation:

A script folder at Z:\pp_scripts

where Z: is a driver letter mapped to a NAS drive.

A script folder at K:\pp_scripts

where K: is a drive local to the PowerPro installation.

The script line *Script path z:\pp_scripts;k:\pp_scripts

The idea behind this is that if Z: doesn't exist, there would be like
named scripts on K: that do things differently based on the fact that Z:
isn't available.

However, when I attempt to execute a script with the Z: drive unmapped,
PowerPro throws this error:

---------------------------
PowerPro
---------------------------
Error running command (2):  File not found
6789 xxxxx 456789 6789 56789 456789

Error occurred near line 1 of script test:
6789 xxxxx 456789 6789 56789 456789

Press Cancel to end all running scripts.
---------------------------
OK   Cancel
---------------------------

  I can, of course,  check for the existence of the Z: drive myself, but
in the interests of elegance I just had to ask.

thanks,

evan





[Non-text portions of this message have been removed]



Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 



Reply via email to