typing code to the console program is not the same as calling CMD.exe via the 
CLI.

in general, with the console program, you only have to care about quoting 
arguments that contain a space because arguments are separated by space. 
however, when you call CMD.exe via the command line, you have to keep in mind 
that certain characters are escaped with a backslash, including the double 
quote. so if you have a path that ends with a backslash and you quote that 
path, you will end up escaping the closing double quote with the final 
backslash in your path. that makes the quote invalid. there is a way to double 
escape such string when passing arguments to CMD.exe via the command line.



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to