VB.NET
' PATH
Const
STR_FLDR As String = "C:\path\"
' 作成日時
System.IO.Directory.SetCreationTime(STR_FLDR, DateTime.Now)
' 更新日時
System.IO.Directory.SetLastWriteTime(STR_FLDR, DateTime.Now)
' アクセス日時
System.IO.Directory.SetLastAccessTime(STR_FLDR, DateTime.Now)
C#
//
PATH
const string
STR_FLDR = @"C:\path\";
// 作成日時
System.IO.Directory.SetCreationTime(STR_FLDR, DateTime.Now);
// 更新日時
System.IO.Directory.SetLastWriteTime(STR_FLDR, DateTime.Now);
// アクセス日時
System.IO.Directory.SetLastAccessTime(STR_FLDR, DateTime.Now);