A question about DOS batching

Updated on technology 2024-03-30
7 answers
  1. Anonymous users2024-02-07

    Before understanding batch processing, we must first understand what DOS is, DOS is a once popular operating system, it is a single-user, single-task, command-line-based system, to complete each task to use commands to achieve, such as copying files, creating directories MD, deleting files MD, formatting hard disk information, etc., unlike Windows can be clicked with a mouse, because there was no mouse at that time. Because DOS was also Microsoft's MS-DOS was the most famous, and later Windows was also developed on the basis of DOS, until now Windows still retains DOS, which is now called "Command Prompt".

    Batch processing is an orderly collection of commands that come together to form an extension. bat file that can be run directly. Because DOS is a single task, you need to execute a command and then enter the next command to execute, it is very time-consuming, if you write the required command into the batch file, you don't have to waste time waiting, it can be executed one by one, you can eat a meal and drink water or something in this process, hehe.

    At the same time, batch processing can also complete some tasks that cannot be done with a single command, such as setting variables, using loops, etc., which you need to understand little by little.

  2. Anonymous users2024-02-06

    Batch processing is a file encyclopedia that can automate the execution of Dos commands in batches.

  3. Anonymous users2024-02-05

    Mastering CMD DOS Hack Programming: How to Implement a Denial of Service Attack Using Batching?

  4. Anonymous users2024-02-04

    At the end of the batch statement, write a directive: "exit" to close the "command line execution window".

    For example: rem your specified command, such as dir, etc., dirrem your specified command ends.

    It should be pointed out that the command window in Win is not a real DOS environment.

    The DOS environment refers to the environment when DOS was used as the operating system N years ago, when the computer was in black and white character mode by default after starting, waiting for the user to give character instructions, which was called the real "DOS". In that environment, there is no such thing as exiting, because for the average user, it is the lowest level of the software environment, and then retreating can only restart the computer, if you don't want to see the previous running instructions, issue"cls"command, just clear the running record on the screen in the early stage.

  5. Anonymous users2024-02-03

    Just add exit to the last line of the batch.

  6. Anonymous users2024-02-02

    DOS is an operating system that was widely used in the past when computers were not widely available. Its interface is all command keyboard operations.

    The concept of the command line is multi-pointed, the cmd command (that is, batch processing) in Windows can be called a command-line operation, and the shell in Linux can also be called the command line.

    Batch processing is a command operation mode under Windows, and the function is far less powerful than the shell under Linux, but it is still widely used in servers using Windows system. Ordinary XP or 7 users rarely use it, and there are not many people who know about it, but the batch processing is very flexible, and it is generally made up on the spot when there is a problem, and it can be used with a notepad, no need to compile, etc.

    Batch processing is somewhat similar to DOS commands in that Windows includes the concept of DOS, but cmd commands and DOS are already very different things. In Windows, there are many extensions to cmd, and the parameters of many commands are different.

  7. Anonymous users2024-02-01

    In DOS batch processing, sometimes you need to know the current path. In DOS, there are two environment variables that can be related to the current path, one is %cd%, and the other is %dp0.

    The usage and content of these two variables are different.

    cd% can be used in batch files or on the command line; Finally, it is the drive letter: + current directory, as in the DOS window go to the C: dir directory and type: echo

    cd% is displayed as: c: dir

    The contents of cd% can be changed, and its content is the execution path of the command or the execution path of the batch file.

    2.%dp0 can only be used in batch files, it is determined by the directory location of the batch file it is in, which is the drive letter: + path where the batch file is located.

    During the execution of this batch file, the contents after it cannot be changed. For example, there is a batch file under the D drive, and its content is:

    Copy**. ** Below:

    echooff

    echothis

    is%%cd%%

    cd%echo

    thisis

    dp0 dp0 at c:

    and e: respectively, the output is:

Related questions
18 answers2024-03-30

I also liked a girl when I was in the sixth grade, but it was just an ignorant period, maybe you said that we were outdated, but I will tell you an immutable truth, if you don't listen to the old man, you are considered a post-00s I am also a post-90s If you like it, you will boldly like to be yourself, and I can help you describe it, and you say that only 40% of people know it now, but I am not surprised. >>>More

7 answers2024-03-30

Yes, because it contains animal protein.

Ginger and leeks are not meat dishes. Because they belong to plants and contain plant proteins. >>>More

19 answers2024-03-30

What does this have to do with the perspective of the software, have you tried formatting, maybe there is a problem with the product itself, if when you leave, someone collides, you say folder is not the meaning of folder, then do you know what type of folder it is, folder is a folder in the computer memory. Obviously, your USB disk has gone wrong, I don't know the specific reason, but the main reason is that your USB flash drive chip has a problem, what is the cause, I can't know, the electronic product is broken, and whether it has nothing to do with **, I don't mean to say that you buy a bad product, because I have made electronic products, very clear about the performance of electronic products, and I have a certain understanding of the software, I hope you will be satisfied, of course, in the end you can also try this method, Try the next software to repair the hard disk,See if there are any new discoveries,**Address,Mobile hard disk home--- commonly used software--- the first software is,See if it can be repaired,I repair the disk can be repaired,But I don't know if it's useful for the USB disk,Finally, declare,The above is my word by word type,Not copied。 Good luck.

10 answers2024-03-30

1.Imagine a cube with a regular shape, submerged in water, its 6 faces are subject to the pressure of water, because its left and right sides, the front and rear sides of the surface under the water depth is the same, then the pressure of the water is also the same, the pressure is equal in size, the direction is opposite, balanced with each other, and the upper and lower sides are in different depths in the water, the pressure of the water is small, the pressure is also different, the lower surface is subjected to the upward pressure of the water f is greater than the upper surface by the pressure of the water f downward. The net force of the pressure on the object is the buoyant force of the liquid on the object. >>>More

19 answers2024-03-30

Go to the World of Warcraft homepage, click Account Management, and click Login. >>>More