Linux and Unix world has the luxury of using touch via command
line or the terminal Window to change or modify the time and date of the file.
How about in Windows? What is the equivalent of Touch in
Windows environment?
Touch result or touch output in Linux and Unix world can
also be done in Windows.
Just need to get your hands wet, with a little bit of coding
in .NET.
.NET offers the File.SetLastAccessTime, File.SetCreationTime
and File.SetLastWriteTime methods.
SetLastAccessTime MSDN link:
SetCreationTime MSDN link:
SetLastWriteTime MSDN link:
MSDN links above provides a sample code on how to use the methods to set or change the creation time, last access time and last write time.
So Windows users are not able to change the date and time of
the files unless the user create his or her own .NET touch program.
Touch equivalent in Windows world, needs to touch the .Net Framework
and create your own touch world program snippet.
Cheers..till next time.
===================================
Free Android Apps:
Click on links below to find out more:
Linux Android App cheat sheet:
https://play.google.com/store/apps/details?id=com.LinuxMobileKit
https://play.google.com/store/apps/details?id=soulrefresh.beautiful.prayer
Catholic Rosary Guide for Android:
https://play.google.com/store/apps/details?id=com.myrosaryapp
http://quickbytesstuff.blogspot.sg/2014/09/how-to-recite-rosary.html
Divine Mercy Chaplet Guide (A Powerful prayer):
https://play.google.com/store/apps/details?id=com.dmercyapp
Educational Android App for Kids:
https://play.google.com/store/apps/details?id=com.xmultiplication
https://play.google.com/store/apps/details?id=com.letsmultiply
Comments
Post a Comment