[Toc][Index]

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)   

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs