Hi all
I have a routine that displays the contents of directories and sub directories and uses the "SET DEFAULT" command.
All works fine until the user makes a directory with a " or a '
This causes a problem for my string routines, which think it is the termination of a string. But I need to use the ' (see code below) to take account of long filenames.
Any way around this?
Thanks
ITflash
PS: Code is as follow:
todo="SET DEFAULT TO ('" + ALLTRIM(newpath) + "')"
&todo