creating folder in documents and settings

i am trying to create a folder in Documents and Settings filder under Windows XP environment wiht mkdirs().

this is the code

import java.io.*;

public class create {

public static void main(String a[]){

try{

File f = new File(a[0]);

f.mkdirs();

}

catch(Exception e){

System.out.println("Error : " +e);

}

}

}

if i give the argument as C:\Documents and Settings\ramesh

it is not creating anything.

also no error messages...

what i have to change?

thanks in advance

ramesh

[589 byte] By [ramesh_gsla] at [2007-10-3 2:36:53]
# 1
Remesh, I am not sure but may be it is because you are not writing "args[]" instead of "a[]", may be you should write args[] instead of "a[]", I am not sure about that but anyway I tryed to help Bye and wish you luck
George-Kankavaa at 2007-7-14 19:35:12 > top of Java-index,Desktop,Runtime Environment...
# 2
Put doublequote marks around your argument - it contains spaces.
ChuckBinga at 2007-7-14 19:35:12 > top of Java-index,Desktop,Runtime Environment...