Hi,
i have this line in my code
FileStream fileStream = new FileStream(Filename,FileMode.Create);
now the problem is that FileName may contain something like "c:\myfiles\images\bg.gif". suppose images directory does not exists how do make sure that the directory gets created???
that is some directories which do no exist in the path i want it to get created how do i do that??
bye
i have this line in my code
FileStream fileStream = new FileStream(Filename,FileMode.Create);
now the problem is that FileName may contain something like "c:\myfiles\images\bg.gif". suppose images directory does not exists how do make sure that the directory gets created???
that is some directories which do no exist in the path i want it to get created how do i do that??
bye