Newfiletime6/21/2023 ![]() Step 3: Copy the below command and paste it in the terminal then hit enter (Get-Item Pathtofileorfolder).LastWriteTime=$(Get-Date " time")įor example, the above command looks like (Get-Item file1.txt).LastWriteTime=$(Get-Date “ 07:00 pm”) Step 2: In the appeared list click on Windows PowerShell To do this, click on Windows + X keys together Note: CC means the first two digits of the year, YY means the last two digits of the year, MM stands for the month, DD stands for the day, hh is the hour, mm is the minutes, and ss is the seconds. In the above command -m changes the modification time, -t modifies the timestamp and the format of the timestamp should be YY]MMDDhhmm In the timestamp put the appropriate value touch -m -t ![]() Step 2: Copy the below command and paste it in the terminal then hit enter. ![]() Step 1: This method is for Linux users or Windows users who use WSL2 installed in it. Step 11: Reconnect the internet and check if it works.
0 Comments
Leave a Reply. |