Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

Change date, time for files and folders via command prompt commands!


The solution is very simple to change the date / time of files and folders with the help of cmd.exe via the command line!




It is easy to do this with external tools, but you don't always have to use free tools, such as  NewFileTime, to make corrections to file and folder times; it is also possible with the cmd.exe of the Windows command prompt. This simple example is not only suitable for Windows 11/10 / 8.1 / 7. No! It is also popular with administrators, especially on Windows Server 2019 and 2016.


To do this, open / start the  cmd.exe or start the  ColorConsole .

By command from the command prompt!




Last changed time!






Get-ChildItem C:\TestDatei.txt | % {$_.LastWriteTime = '01/11/2011 00:00:30'}  


Access time change!





Get-ChildItem C:\TestDatei.txt | % {$_.LastAccessTime = '01/11/2012 00:00:30'}  


Create time change!






Get-ChildItem C:\TestDatei.txt | % {$_.LastAccessTime = '01/11/2012 00:00:30'}  



Info:

Every file that you create or change on Windows 11, 10,8.1, ... has file attributes associated with it that tell you (or someone else) when the file was created, changed, opened and possibly more. It doesn't matter if you are late in submitting an order or if you are just trying to cover your tracks - the information is always there unless you change it.



FAQ 55: Updated on: 20 July 2021 15:45 Windows
Windows-Console

Can you query x64 or x32 via cmd command?


The solution is very simple, to recognize via cmd command whether you have x64 or x32 operating system Start system info via cmd.exe and you can immediately
Windows-Console

How can I see the Windows command line history in the cmd.exe?


The solution is very simple to see the Windows 11, 10, etc. command line history in the cmd.exe At the Windows command prompt, press the F7 key to view
Windows-Console

Edit Autostart folder via the Windows command prompt (11,10,8.1, 7)!


You can easily edit the autostart folder under Windows 11, 10, 8.1, 7 and older MS OS. First of all: You can also edit the folder for the autostart programs
Windows-Console

Can I start the Powershell program under Windows (11, 10, 8.1, 7)?


It is easy to start from Powershell programs, both under Windows 10/11, as well as under Win 8.1 and 7 Anyone can start programs from MS Powershell, it
Windows-Console

Start a program at the command prompt via the command line!


An * .exe or program under Windows 11, 10, 8.1, 7 can be started via the command line via the command prompt Regardless of whether you want to start an
Windows-Console

Check whether the file is available with PowerShell under Windows 11, 10,8.1, ...!


Its easy to use PowerShell to check if a file exists in Windows or not The elegant solution is not only written for Windows 10 or Windows 11, even if the
Windows-Console

Load and save the Windows 10 start menu with PowerShell!


It is easy to load or save backup / restore the Windows 10 start menu with PowerShell Not suitable for Windows 11 In Windows 10, Microsoft changed the

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. As the above methods show, there are many ways to change file attributes on Windows 10, and hopefully you will get into the habit of improving file management on Windows. You can switch to a replacement for Windows Explorer first to make sorting and managing your files easier.
Keywords: windows, console, change, date, time, files, folders, command, prompt, commands, solution, very, simple, Questions, Answers, Software




    

  + Freeware
  + File management
  + Decoration and fun
  + Automation
  + Office
  + Order on the PC
  + PC testing tools

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + PhotoResizerOK
  + Office.Files.Images
  + Film.Strip.Explorer
  + WinScan2PDF
  + DontSleep
  + ExperienceIndexOK
  + QuickTextPaste
  + DesktopNoteOK
  + ShortDoorNote
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2022 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.077


► Always start the Quad Explorer for Windows maximized! ◄ ► Adjusting the maximum processor frequency / performance under Windows! ◄ ► Change the desktop background to a solid color while hiding the icons! ◄ ► External monitor, work with closed lid on notebook under Windows 10/11! ◄ ► Favorites in the Run dialog for Windows 11, 10, ... as an alternative! ◄ ► I have ordered a new computer, pixel query does not work !? ◄ ► Set the default printer for Windows 11! ◄ ► Variable size rotate and random snowflakes on the Desktop! ◄
This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....