• Using recover to repair the damaged TXT file in DOS


    Recover readable information from a damaged disk. ECOVER [drive:][path]filename in use   RECOVER   Before the order,Check it first   Windows   Online Command Reference in help.Specific usage:Take repairing bad.txt file in your D root directory as an example. First, click “start → run”, enter “CMD” (without quotation marks) in the run input box, and then […]

  • DOS command INTERLNK, intersvr command instructions


      How to use it   DOS adds network support,             It can connect two computers to form a simple network through parallel port line or serial port line             Using INTERLNK   You must add a sentence in config.sys:           device=c:\dos\interlnk             Both ends of parallel port line should be 25 pin […]

  • DOS shutdown command


    shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c “comment”] [-d up:xx:yy]      There are no parameters            Display this message (and  ?  (same)    – i                display   GUI   Interface, must be the first option    – l                Logout (cannot be associated with option)  – m   Use together)    – s                Turn off this computer    – r                Shut down and restart this computer    – a                Abort […]

  • DOS mode in the registry to operate the code


    Because the registry editor Regedit.exe In fact, it is a two habitat program, which can run under DOS or windows 95 / 98. Many users may already know how to use regedit in windows, so to master the registry programming in DOS mode, we must first understand how to use the registry editor in DOS.Type […]

  • Refer to page 1 / 2 for the function of symbols under super detailed CMD DOS


    1、 Single symbol~① In for, it means to use enhanced variable extension.② In% var: ~ n, M%, represents a string that uses the extended environment variable to specify the location.③ In set / A, it represents a unary operator and negates the operands bit by bit. !① In set / A, the unary operator represents […]

  • DOS command batch delete files and make the batch command of the command detailed explanation


    Click “start” → “run”, enter “CMD” and press enter. Then, in the command prompt window, enter:del F:\_ desktop.ini /F / S / Q / AForcibly delete all files in the directory of disk f (including disk x itself)_ desktop.ini File and do not prompt to delete./F means force delete file/S means to delete the file […]

  • DOS directory jump CD


    For example, when we open a command line window, we usually operate as follows: find the start menu in the lower left corner of the desktop, open run, enter CMD, and enter. At this time, the default current directory of the command line window is located in the path of the current user, for example: […]

  • DOS content redirection


    Is there any way to save the help information displayed in the command line window? The answer is yes, and there is more than one answer. A slightly more cumbersome way is to copy the information in the command line window, and then paste it into the text to save it. This operation is more […]

  • DOS if condition judgment


    1. To determine whether a drive, file or folder exists, use the if exist statement;2. Judge whether two strings are equal, and use if “string 1” = = = string 2 “statement;3. To judge whether two values are equal, use the if value 1 equ value 2 statement;4. Judge whether a variable has been assigned, […]

  • DOS process jump to goto


    If you need to perform different operations for different situations, if you still follow the conventional execution process, you can’t complete the task. At this time, you need to introduce the concept of process jump and use the process jump statement goto. The meaning of process jump is: change the default execution order, force jump […]

  • DOS file copy command


    Let’s say that you need to put D: test\ test.txt Copy this file to the root directory of disk D, then use copy D:: test\ test.txt d: You can do it easily. Of course, this is the simplest case, in actual use, it will encounter very complex situation. If a file named test.txt Then, when […]

  • DOS file delete del command


    The use of del command is very simple, just use the format of “del file path”. For example, if you want to delete the test.txt , using del D:\ test.txt That’s it.However, not all files can be done with del command, such as files with hidden attribute, read-only attribute or system attribute\ test.txt It has […]