We recommend that you use a file to solve all the common problems of the operating system. Page 1/3

Source: Internet
Author: User

During the use of computers, we will encounter many problems. Annoying ad windows will pop up constantly; we will switch over multiple sets of network configurations; and we will often forget the key data in the backup network; the encrypted folder cannot be opened due to misoperations. Have you ever thought that all these problems can be solved through a small file? You can even use it to solve almost all problems encountered when using computers. It is a powerful BAT file.

I. Check for missing information-adds fire to system functions

Although our operating system is powerful, it still lacks some applications, such as: There is no Timed Shutdown software. The use of BAT files can solve many such problems.

1. Shutdown and restart

Let's first create a bat for shutting down the computer at a specified time every day. The specific method is as follows:

Open the notepad in the attachment and write it in it. At shutdown-S-F, select "File> Save", select "all files" for the SAVE type, and name it: shutdown. bat, 1. If you want to shut down every day at, drag the file to "Start>Program→ Start ", so that the file will be executed every time it is started. The specific meaning is that at every day, shutdown-S-F shut down and shut down all the unresponsive programs.

If you need to restart the machine frequently, you can write a BAT file for fast shutdown, open a notepad, and write:

@ Echo off

// Close the command line display

% SystemRoot % \ system32 \ shutdown-r-t 0

// The-R parameter indicates that the computer is restarted. The-t parameter indicates that the computer is followed by the waiting seconds. If the value is 0, the computer is restarted immediately.

2. Disk sorting

The disk fragment program that comes with Windows XP cannot be used for full sorting. We can compile a full sorting bat and enter the following in the notepad:

Defrag C:/f/V

Defrag D:/f/V

// Write a few lines for Several partitions.-F indicates that the disk is forcibly organized even if the available disk space is insufficient. -V indicates that the sorting result is displayed.

Save the file as a bat file and double-click it. If you do not want to keep it for a long time, you can enter shutdown-S-f at the end of the file so that it can be shut down.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.