CMD command to modify file creation time

Time:2020-5-21

Add “Dos here” to the right-click menu of the folder

To add the command prompt option to the folder’s right-click menu. In the registry HKEY_ CLASSES_ Create a new item “commandprompt” under the root \ directory \ shell branch, modify the “default” key value in the right pane to “Dos here”, and create a new item “command” in the lower level of the item, and set the “default” key value in the right pane to“ cmd.exe /k cd %1”。 Now we can switch to the specified directory without entering a long CD command.

Copy codeThe code is as follows:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\CmdPrompt]
@=”Enter DOS”
[HKEY_CLASSES_ROOT\Folder\shell\CmdPrompt\command]
@=”cmd.exe /k cd %l”

I won’t be lazy for specific operation!
The command is as follows

Copy codeThe code is as follows:
copy *.* +..

Right click the file you need to modify the creation time: open the command window here, input the command, and then click the file in the home
The creation time of files will be changed to the system time. Of course, you can also change the system time yourself, so that you can change the creation time to what you want
The range is needed.

Recommended Today

Tomcat tuning notes

This article is the experience (which will be updated continuously) obtained in the Tomcat tuning process. Relevant environment: java version “1.8.0_131” Tomcat 8.5.14 Jmeter 3.1 JMeter parameter: 300 threads 1000 cycles URL:http://localhost:8080/ Tomcat server.xml Parameters: protocol=”org.apache.coyote.http11.Http11Nio2Protocol” acceptCount=”5000″ maxConnections=”20000″ Tomcat JVM parameters:-server -Xms4g -Xmx4g JIT intervention Tomcat server.xml Keep the default values. When Tomcat is not […]