View previous topic :: View next topic |
Author |
Message |
Kristian
Joined: 30 Dec 2008 Posts: 2
|
Posted: Tue Dec 30, 2008 7:45 am Post subject: Problem with backlashes in filenames (passed to mdcl) |
|
|
Hello,
First: thanks, Jarrett, for this great program/language!
I have a little problem with it though in Windows (MiniD 2.0 beta). When I give a filename containing backlashes ('\') to mdcl or minidc, Tango does not like it. For example:
mdcl c:\path\test.md
->
tango.core.Exception.IOException: unexpected '\' character in path: c:\path\test.md
If the backlashes are converted to division marks (e.g. mdcl c:/path/test.md), it'll work fine.
Curiously backlashes are ok when executing .mdm files. For example:
mdcl c:\path\test.mdm
Could this be allowed for the .md files too? |
|
Back to top |
|
|
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Tue Dec 30, 2008 9:56 am Post subject: |
|
|
Rrgh, Tango made backslashes in filenames completely illegal I see. I think there's a function I can use to "normalize" the filenames to forward-slashes (though I don't see why it can't just do that itself). Thanks.
[edit]It's fixed, you can 'svn up'. |
|
Back to top |
|
|
Kristian
Joined: 30 Dec 2008 Posts: 2
|
Posted: Tue Dec 30, 2008 12:33 pm Post subject: |
|
|
Ok, thank you very much! |
|
Back to top |
|
|
|