escaping DOS

Ryan Powers ryanx at indy.rr.com
Wed Oct 3 14:25:07 PDT 2012


Kenneth Brody said:

> Put the filename in quotes, which will also take care of spaces and
> other
> "problematic" punctuation.

I could have sworn that I tried mkdir "M&M" and got an error, but it 
works now. 

I used to have a parser to handle long folder names and names with spaces
but Java (6?) takes care of those automatically now, converting them to the
correct 8 character name. I may just have to re-implement and quote
everything.
The unknown is whether or not the work-around will come unwrapped after 
being passed as an argument once or twice. 

Whatever happened to Longhorn? :-)

Thanks, and thanks to Walt too.


---
Ryan Powers
Bulldog Software, Inc.
http://www.bulldogsoftware.com







More information about the Filepro-list mailing list