Menu

#2 LDIR trailing backslash and quote bug

open
nobody
None
5
2005-03-14
2005-03-14
Anonymous
No

- LDIR "D:\My Files\" does not work as expected. Leave away the last backslash. Dos seems to convert \" into a quotation mark (") at the very end.

I hit this problem recently. It is caused by the C startup code that parses the command tail into argv []. I had to get the entire tail as a string and parse it myself to avoid the problem.

Discussion


Log in to post a comment.