this is exactly that i want. last question: i need also if "newfolder", in path "c:\newfolder", is not exist then first create "newfolder" and then open it and if it is exist, only open it.
thanks for any help