REXX Tips & Tricks, Version 2.80


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


File and directory names


Double quotes around filenames are never allowed in the parameter for the 
REXX functions. In contrast to this, OS/2 commands always need double 
quotes around filenames if the name contains blanks or other special 
chars. This is also true for directory names. 
The conclusion from this scenario: 
Always save filenames and directory names inside your program without 
double quotes. Then use a function to add quotes to any filename(s) before 
using the name(s) as parameter(s) for OS/2 commands executed outside your 
program (see the routine ConvertNameToOS in the Template for a REXX 
program)   

Inf-HTML End Run - Successful