Do you know DOS in Windows?

xiaoxiao2021-03-06  40

Do you know DOS in Windows?

DOS has gradually been far away, we are used to use Windows 98 / ME / 2000 / XP every day, but do you understand DOS in Windows? In fact, when DOS is still more faster than Windows, after all, this is the operating system Classic work. Here, the author summarizes the three cases in using the DOS process to explain, I hope more less can be omitted and helpful to readers in the process of using the computer.

Case 1, "FC" - file contrast

As we all know, when installing the software, you will generally leave any or less in the registration form, and there will be a lot of garbage in the long run, so that our system will gradually slow down until collapse. It is now a lot of tools now to help us solve this problem, but if we want to know what they have left in the registration table, and there is no suitable tool, is there any hand? Wait, we invite the most convenient comparison tool under DOS - "FC"

Format: FC [PATH] [PATH]

How to use: First export the registry before installing the software as a file such as: "1.reg", after installing the software, then export as a file as: "2.reg". These two files assume that they are placed in the root directory of the C drive. We entered the MS-DOS mode Enter "C: FC 1.Reg 2.reg" Enter. did you see that? The screen is displayed on the screen is a place where the registry is changed.

Note: The FC defaults to two files. The length of each line in the file should be less than 256 characters. If the leader exceeds 256 characters or compare objects are binary or program files, they should be added with / b parameters, and the FC will compare them by byte.

Case 2, ">" - Directional output

We follow the cases above. Sometimes we find the screen to scroll up when using the above way, a lot of information will stop, this situation is because the two files are too big, the document is changed. Too much. How to do it? Don't worry, at this time we have to use another tip - use the orientation output ">"

Format: Command (or Program)> Directional Enter Device (or File Name)

How to use: We also use the above example, enter C: FC 1.Reg 2.reg> Change.txt Enter.

What information is gone. In fact, you will find more than a fc.txt file in this directory, open it with a writing board, but all the comparison information of these two files:) So Easy.

Note: You can output it to any files in any format, which can be opened in text.

Case 3, "Copy" - File merge

I have a lot of time to split video files into a lot of small paragraphs to let everyone download, but when downloading a good file is always going to open, then there is any way to let them reintegrate into a whole file? It is okay, but that cumbersome E text makes me a long history. In fact, there is a ready-made tool under DOS. You can do it with our common "Copy" command, let's take a look.

Format: COPY / B ... > filename>

How to use: Suppose your hard disk has two files, video1.mpg and video2.mpg then enter "Copy / B Video1.mpg Video2.mpg Video.mpg" in this directory, where video.mpg It is the new file name generated after you merge. Hurry and try it, open the player to see if it is spent. Of course, your favorite novels, music, if you are too hungly turning off too much trouble, try this method to merge them together.

Case 4, "copy" - batch rename

A friend wants to do a project to rename a series of text files, but because there are too many quantities, it is too much trouble in Windows, and the head is big: (Is there a simple way?) A lot Many tools and methods have been introduced to implement this, but I think it is more troublesome. In fact, we can use the DOS command and the recycle bin to complete the bulk change name.

How to use: Suppose there is a lot of files to be renamed on the E disk, then first get them in the recycle station! (Remember! Just delete, don't empty the recycle bin, the file is lost, I am not responsible!), Then we enter MS -DOS mode E disk, enter "CD Recycled" into the recycle bin in the root directory, DIR to see, is there all file names to change into order :) Next, we will copy them. Enter "Copy *. * E:" Haha, return to Windows to see if all files are DE1, DE2 ....

Note: 1. Before deleting, you should first empty the "Recycle Bin", otherwise the file will be possible to start from the unknown numeric base.

2. Which disk is deleted, enter which disk's Recycled folder, there is no corresponding file in another disc.

3. The file name is modified, named DX1, D is fixed representation Disk, x is corresponding to your drive letter, if it is DF1 in the F disk, if it is D-DD1, according to this type.

Case 5, "copy" - change the date of the file

A colleague is ready for a long time because of the work needs to modify the document, and I don't know how to change it for a long time: (Do we really can we only ask for special tools? Actually, it is also easy to use the copy command. :)

Format: COPY

How to use: Suppose the file we want to modify is the redate.dat file, it is in the C drive, then we first entered the MS-DOS mode, enter "Copy 123.dat ," under the C drive (Note: After the plus is behind 2 commairs) After entering the bus, the system will ask you to overwrite? When you type "y", if it is changed to the current date, is it very simple?

Case 6. FDISK-Repair Booting Area

Colleagues started today. Suddenly found that the system could not start. The screen prompt "No system, system halted" is actually based on the prompts We can know that the problem is definitely on the drive area of ​​the hard disk. This situation is generally guided record damage or virus infection, or no self-raised sign in the partition table, and it may be caused by ending marking 55aa to be rewritten.

Format: fdisk / MBR

Usage: Start your computer with a DOS boot disk and execute the "fdisk / MBR" command at the prompt. FDISK itself contains the main boot program code and end flag 55aah, this trick is not only the frankness of the repair main boot record and end sign 55aa, and does not have to worry about the file on any hard disk! Case seven, "ping" - Check if

When Internet cafes are online, the server suddenly disconnects, and the network management is solving the fault. It is not so embarrassed that he is busy with sweating. "When can you pass." But I can't open a page to keep pressing the refresh. At this time, I can detect when I can connect it in the shortest time, and I don't have to spend it :)

Format: ping -t

How to use: Perform "PING in MS-DOS mode"

Www.xxx.com -t "Yes :) You can see the screen keeps rolling, if it is pass, the" reply from xxx.xx.xxx.xxx: Bytes = 32 ... ", Otherwise, "Destination Host Unreachable" is displayed. So you can know when you don't know when you don't do anything.

Case 8, "Debug" - Crack COMS

My friend's brand CMOS was locked in unintentional, what should I do? At this time, you may say that open the chassis to discharge the battery. However, if the brand is removed if the problem is more warranty. In fact, there is a very easy to use tools to unwave this password --debug. Because this is a tool, it is really profound, so it can't give it. But you can follow me step by step, let's don't learn too much, just don't make things about things.

When the system enters the DOS mode, if it is Windows ME (XP), start with the boot disk, enter the following instructions under DOS:

Debug

-o70 21

-o71 20

-Q

Ok, let's restart your computer to see if it has already been unspeakdated:

About case analysis, let's talk about it, although DOS has been eliminated from us, but when your system has a blue screen, when your system crashes, when you feel cumbersome, maybe when you solve some problems DOS can give you the best answer.

Description: All the above methods can be used in Microsoft any operating system environment, and all external programs can be found in the startup disk of Windows 98.

转载请注明原文地址:https://www.9cbs.com/read-60043.html

New Post(0)