try
{
File.CreateText(@"D:\Tobey\TimeCreate.txt");
Console.WriteLine("Success");
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
throw;
}
針對本機資料夾Tobey無法建立新檔案,需先將Tobey資料夾共用性打開,即可通過~