I'm using the File object to query fileObj.isDirectory(mydir) and it's failing on a valid directory. The directory in question is C:\files\c\temp\Downloads (0004)
Are spaces not allowed in java referenced directories? Is it the paranthesis? Are both bad? Is there a way around this problem? I'm referencing someone elses code that I don't have rights to recompile and he does a check with isDirectory. I can't avoid that. Is there any thing at all I can do? Is there a list of valid dir characters so that I won't run into this problem again, if I merely need to avoid using some paths?
I tested c:\files\c\temp\Downloads (I created this just to test) and that worked fine. Any ideas?