import java.io.*;
class map
{
public static void trace (String s)
{
/* System.out.print (" [" + s + "] "); */
}
public static void tabul (int level)
{
for (int j=0; j");
*/
trace ("3");
for (int i=0; i");
}
trace (" *** ");
tabul (level);
System.out.println (
""
+ l[i] + "");
try
{
dir (pathname + "\\" + l[i],
relpath + "/" + l[i], level+1);
}
catch (Exception e) { trace ("EXC2"); }
}
tabul (level);
System.out.println ("");
}
public static void main (String[] args) throws java.io.IOException
{
/* System.out.println ("Directory listing"); */
BufferedReader in = new BufferedReader
(new InputStreamReader (System.in));
/* System.out.print ("Pathname ? "); */
String pathname = in.readLine ();
dir (pathname, ".", 0);
}
}