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, under all MS Windows 11, 10. Desktop and also all MS Windows Server 2022, operating systems Anyone
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, why not when the solution is so simple   Contents: 1. Check if file is available
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
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + 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

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.046


► Can i use this stress test for the overclocked graphics card (GPU crash)? ◄

► If I manage to remove all viruses, is my Windows 11, 10, ... PC virus-free? ◄

► The mouse track trails in Windows 8.1 and 10, can I disable this? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....