Windoze newfangled filenames workaround
- Posted by Alan Oxley <fizzpop at icon.co.za> Dec 25, 2002
- 376 views
I dunno who else has tried this workaround for paths containing spaces etc, but since I have not seen it mentioned, here is my code snippet to copy a file, using the KISS principle... sequence dquote, fromname, toname, cmd dquote = {34} -- double-quote character fromname = "C:\\Program Files\\mylib\\from.file" toname = "C:\\Program Files\\mylib\\to.file" cmd = "copy " &dquote &fromname &dquote & " " &toname &dquote system(cmd,2) Of course, you could use the win32lib routine to do the copy; this is just an example. Cheers Alan