Collection of small knowledge points on Windows system (collection update)

1. Automatically run when booting

If you write a piece of code or script, or even a program. If you want to execute it automatically after Windows is turned on, you can follow the steps below

For Windows system, after booting, when all the software initialization is completed, it will run automatically

C:\Users\(your username)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

The following files, so as long as the files are placed in this folder, they can run automatically. and will all run.

If you can’t find it, just open the hidden folder, the method will be described below

Start Menu Chinese will be displayed as " "start" menu "

Programs Chinese will be displayed as " program "

If you want to run a certain software, just put the shortcut of the software below

2. Show hidden files or folders

Click this computer on the desktop or directly win + e shortcut key to open the file explorer

Find View in the top tab

Find the hidden project option, check √, and then you can see the hidden user files

In addition, there are many hidden system files

For example, if you open a certain folder, there are obviously no files, but if you check the size of the folder, it shows that there are files in it. At this time, there is a high probability that there are hidden system files.

Or find the view on the top tab page, and then find the option, and a new window will pop up after clicking

Find the view option at the top of the new window. After selecting it, slide down in the advanced settings below to find "Hide protected operating system files". After checking, click Apply in the lower right corner, and you can see the previous never seen file

 Operating system files are generally recommended to be hidden and not to be deleted easily

Otherwise, it is easy to cause system errors, and then you can only reinstall the system.

3. Disk defragmentation

Sometimes the system has been used for a long time, and many folders cannot be deleted or opened.

In fact, we can try to solve this problem by repairing the disk

Win + e shortcut key to open the file explorer, find this computer on the left, or enter directly through the icon on the desktop

At this point, you will see each disk of the computer, and find the disk where the file that cannot be deleted is located.

Right-click on that disk, open "Properties", and find Tools in the upper tab

At this point, you can see the two functions provided by the system, "Troubleshooting" and "Optimize and defragment the drive"

Click Optimize, select the disk drive you want to optimize, click Optimize below, and wait for the system to complete

After the completion, find the folder that was inaccessible just now, and you can open or delete it

References for this article

Automatically run a Python script or automatically run a software in the Windows system - Programmer Sought

Guess you like

Origin blog.csdn.net/weixin_44339850/article/details/128717892
Recommended