FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with backlashes in filenames (passed to mdcl)

 
Post new topic   Reply to topic     Forum Index -> MiniD
View previous topic :: View next topic  
Author Message
Kristian



Joined: 30 Dec 2008
Posts: 2

PostPosted: Tue Dec 30, 2008 7:45 am    Post subject: Problem with backlashes in filenames (passed to mdcl) Reply with quote

Hello,

First: thanks, Jarrett, for this great program/language! Smile

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? Wink
Back to top
View user's profile Send private message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Tue Dec 30, 2008 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Kristian



Joined: 30 Dec 2008
Posts: 2

PostPosted: Tue Dec 30, 2008 12:33 pm    Post subject: Reply with quote

Ok, thank you very much! Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group