I have a class that searches a directory specified from the command line. My problem is, when I try to enter a path like "c:\java" it gives me an error. I figured out I have to use an escape character like "c:\\java" and then it works. I tried to build something internal to the program so that a user could just type in the one \ and not have to worry about doubling it up. Unfortuneately, the \ behaves as a escape charactor. When I try using my replace method like this: replace(dir, "\", "\\" it doesn't like this format. Is there another way that I can specify the directory? Using .'s perhaps? <br><br> <p> fenris<br><a href=mailto:fenris@hotmail.com>fenris@hotmail.com</a><br><a href= > </a><br>