The Windows 7 bat file is launched. How to make a bat file to launch the program. Simple batch file command


A bat file is a text file in operating systems Windows family, containing the sequence system commands to be executed by the command interpreter “cmd.exe”. In general, it is a script file. After running the bat file command interpreter reads its contents line by line and sequentially executes the received commands. Today we’ll look at how you can create a bat file, and also get acquainted with programs for creating and editing these files.

The purpose of bat files

Files with the bat extension are designed to automate many routine tasks V operating system Windows. They will be very useful in cases where it is necessary to perform some operation or sequence of operations a large number of times in a row or periodically repeat a certain algorithm. First of all, this concerns working with file system(Creation large quantities directories, especially nested ones, mass renaming files). , You can find out by clicking on the above link.

Creating a bat file

Any user can create a text command file - there is absolutely nothing complicated here. To do this, you only need a text editor (the functionality of a standard notepad will be quite sufficient).

First method

  1. Create a new one Text Document in any directory.

To perform this action, call up the context menu of the directory space free of folders and files and select “Create”. In the drop-down list, click on the “Text file” item.

  1. Enter the name of the created document and click “Enter”.
  2. Open the created file double click mice.

  1. Let's enter a few simple commands into it to check its functionality:

@ echo Hello, im bat!

@echo – command to display text on the screen;

Hello, i’m bat! - the text itself;

pause – wait for user actions before closing the window. After executing the “@echo” command, the command interpreter will not close automatically, allowing the user to get acquainted with the results of its execution (we will see the entered text on the screen).

  1. Call up the “File” item in the main notepad menu and click on “Save as...”.

  1. In the dialog that appears, select the file type “All files”.

  1. Next, add to the name of our document next text".bat", which will ultimately result in "file.bat".
  2. Click on the “Save” button.

As a result, a document called “file.bat” will appear in the Explorer window, to launch which you need to double-click on it with the left mouse button or select it and press “Enter”.

Editing a batch file is done by selecting the “Edit” command from its context menu.

Second method

The second method of creating bat files is almost similar to the first, but we will not ignore it.

  1. We launch Notepad using any known method.
  • Through the shortcut in the Start menu - go to “Start - All Programs - Accessories - Notepad” in Windows 7 or “Start - All Applications - Accessories - Windows - Notepad” in later editions of Windows.
  • IN search bar“Start” / “Windows”, enter notepad and launch the program by clicking on its shortcut in the list of results.
  • Call up the window for executing system commands using the key combination “Win ​​+ R”, enter “notepad” and click “OK”.
  1. Let's move on to point No. 4 of the previous method.

Editing bat files using Windows

  1. Click right click mouse over the bat file by calling its context menu.

  1. From the menu that appears, select “Edit” or “Edit”.
  2. In the standard window that opens text editor, usually notepad, the contents of the bat file will appear.
  3. We make the necessary adjustments and save the result.

Dr.Batcher – a program for creating bat files and editing them

Even though the use of bat files is not so popular among users today, it is still more effective to resort to their help to solve many problems on a computer. If for a beginner who occasionally uses the command interpreter, the functionality of the notepad is enough, then for system administrator and a vareznik engaged in the creation Windows builds or automatically installed software for it, a more advanced and handy tool for working with documents in bat format. It is the Dr.Batcher utility. The interface and functionality of the program is not much different from notepads such as Notepad++. The main menu contains buttons for frequently used commands. Dr.Batcher numbers pages, supports bookmarks, contains a list of system commands for bat files and highlights the syntax of entered commands.

Creating a bat file in Dr.Batcher

  1. Let's launch the application.
  2. Call the “File” item in its main menu and click “New”. The same is done by clicking on the icon clean slate, located under the “File” menu.
  3. In the dialog box, select “Empty Batch File”.

A program window will appear on the screen with all the functions necessary for working with bat files.

Editing bat files in Dr.Batcher

There are several ways to open a bat format document for editing in Dr.Batcher, which will be discussed further.

Editing via the context menu of a bat file

  1. Call the context menu of the bat format document.
  2. In the drop-down list, select “Edit with Dr.Batcher”.

Then a program window will open with the contents of our text batch file, where you can make adjustments to its contents.

Editing bat files using Dr.Batcher

  1. Launch the Batcher application.
  2. Call the “File” item in its main menu.
  3. Select “Open” from the drop-down menu.

The same thing is done by clicking on the folder icon located under the main menu.

  1. In the file opening dialog box, specify the path to required document bat format and click “Open”.

Our bat file will open in the Dr.Batcher window and you can make adjustments to it.

If you have any questions about the topic "How to create a bat file? Programs for creating and bat editing files", you can ask them in the comments


if(function_exists("the_ratings")) ( the_ratings(); ) ?>

Windows bat files are in a convenient way execution various tasks on a PC, which is actively used by computer experts. They allow you to automate daily tasks, reduce their execution time and turn difficult process into something feasible for the average user. This article presents basic capabilities batch files and recommendations for writing them yourself.

Automation made easy

How to create a bat file? To do this you need to do the following:

  1. In any text editor, for example, Notepad or WordPad, create a text document.
  2. Write your commands in it, starting with @echo , and then (each time on a new line) title [name of the batch script], echo [message that will be displayed on the screen] and pause.
  3. Save the text in an electronic document with the .bat extension (for example, test.bat).
  4. To run, double-click on the newly created batch file.
  5. To edit it, you need to right-click on it and select “Edit” from the context menu.

The raw file will look something like this:

title This is your first bat file script!

echo Welcome to the script batch processing!

We will discuss bat file commands and their use in more detail below.

Step 1: Create a software script

Let's assume that a user often has problems with the Network. He constantly uses the command line, typing ipconfig and pinging Google to troubleshoot network problems. After a while, the user realizes that it would be much more effective if he wrote a simple bat file, wrote it to his USB drive and ran it on the computers he diagnoses.

Creating a new text document

A batch file makes it easy to perform repetitive tasks on your computer using a command line Windows strings. Below is an example of a script responsible for displaying some text on the screen. Before creating a bat file, you should right-click on empty space in the catalog and select “Create”, and then “Text document”.

Adding code

Double-clicking this new text document will open your default text editor. You can copy and paste the example code above into a text entry.

Preservation

The above script displays the text “Welcome to the Batch Processing Script!” on the screen. Electronic document you need to record it by selecting the text editor menu item “File”, “Save As”, and then specify the desired name of the bat file. It should be completed with a .bat extension (for example, welcome.bat) and click OK. For correct display Cyrillic alphabet in some cases you should make sure making the right choice encodings For example, when using a Russified console Windows systems The NT document must be saved in the CP866. Now you should double click on the bat file shortcut to activate it.

But the following message will appear on the screen:

"Welcome to the batch script! Press any key to continue..."

If the bat file does not start, users recommend going to the registry and deleting the key:

"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT\UserChoice."

Don't think that's all that batch scripts can do. Script parameters are modified versions of command line commands, so the user is limited only by their capabilities. And they are quite extensive.

Step 2: Get to Know Some Commands

If a PC user is familiar with how to execute DOS console commands, then he will be a master at creating software scripts because they are the same language. The lines in the bat files will tell the cmd.exe interpreter everything that is required of it. This saves time and effort. In addition, it is possible to specify some logic (for example, simple loops, conditionals, etc., which are conceptually similar to procedural programming).

Built-in Commands

1. @echo is a bat file command that will allow you to see the script working in command line. It is used to view the progress of production code. If the batch file has any problems, then this command will allow you to quickly localize problems. Adding off makes it possible to quickly terminate code execution, avoiding output unnecessary information to the screen.

2. Title provides the same functionality as a tag in HTML, i.e. creates a header for the batch script in the command line window.</p><p>3. Call calls one bat file from another or a subroutine within one script. For example, the power function calculates the power %2 of %1:</p><p>if %counter% gtr 1 (</p><p>set /a counter-=1</p><p>endlocal & set result=%prod%</p><p><img src='https://i2.wp.com/syl.ru/misc/i/ai/324915/1862019.jpg' width="100%" loading=lazy loading=lazy></p><p>4. Cls clears the command line. Used to ensure that the previous output <a href="https://viws.ru/en/programmy-dlya-android-blokirovka-ekrana-blokirovka-ekrana-na-android-kak.html">foreign code</a> prevented viewing the progress of the current script.</p><p>5. Color sets the font and background color. For example, <a href="https://viws.ru/en/photoshop-cs6-kak-pomenyat-cveta-izobrazheniya-komanda-zamenit.html">color command</a> f9 specifies white letters on a blue background. A command without a parameter restores default settings.</p><p>6. Echo is used to display information, as well as to enable (echo on) or disable (echo off) such output. For example, the echo command. displays <a href="https://viws.ru/en/kak-v-odnoklassnikah-pisat-s-novoi-stroki-kak-pereiti-na.html">new line</a> without a dot, but echo . - point. Without parameters, the command displays information about its current status - echo on or echo off.</p><p>7. Rem provides the same functionality as a tag<! в HTML. Такая строка не является частью выполняемого кода. Вместо этого она служит для пояснения и предоставления информации о нем.</p><p>8. Pause allows you to interrupt the execution of commands in the bat file. This makes it possible to read executed lines before continuing the program. In this case, the message “To continue, press any key...” is displayed on the screen.</p><p>9. Set allows you to view or set environment variables. With the /p switch, the command prompts the user for input and saves it. With the /a parameter, it allows you to perform simple <a href="https://viws.ru/en/kak-poschitat-summu-yacheek-v-vorde-avtosumma-i-arifmeticheskie-operacii.html">arithmetic operations</a>, also assigning their result to a variable. When performing string operations, there should be no spaces either before or after the equals sign. For example, the set command displays a list of environment variables, set HOME displays the values ​​of arguments starting with “HOME,” and set /p input=enter an integer: prompts for an integer and assigns it to the appropriate variable.</p><p>10. Start "" [website] will launch the specified website in your default web browser.</p><p>11. If is used to check a certain condition. If it is true, then the next command is executed. There are 3 types of conditions:</p><ul><li>ERRORLEVEL number - checks the completion code of the last executed instruction to see if it matches or exceeds the specified number. In this case, 0 indicates successful completion of the task, and any other number, usually positive, indicates an error. For example, you can use nested commands to pinpoint the exit code: if errorlevel 3 if not errorlevel 4 echo error #3 occurred.</li><li>Line1 == line2 - checking whether two strings match. For example, in the absence <a href="https://viws.ru/en/kak-otlichit-poddelnyi-aifon-5s-ot-originala-ieroglify-v-bolshom-kolichestve.html">external parameter</a> the command if "%1"= ="" goto ERROR will transfer control to the ERROR label.</li><li>EXIST name - check the existence of a file with <a href="https://viws.ru/en/fio-na-aliekspress-kak-uznat-chto-znachit-vashe-imya-vashe-imya-imya-ne-ukazano.html">specified name</a>. For example, if not exist A:\program.exe COPY C:\PROJECTS\program.exe A: copies program.exe to drive A if it is not there.</li> </ul><p>12. Else must be on the same line as the If command. Indicates the need to perform <a href="https://viws.ru/en/kak-nastroit-mail-oblako-osnovnye-deistviya-v-oblake.html">following instructions</a>, if the expression is false.</p><p><img src='https://i0.wp.com/syl.ru/misc/i/ai/324915/1862021.jpg' width="100%" loading=lazy loading=lazy></p><p>13. For is used for repetition <a href="https://viws.ru/en/samye-luchshie-partnerskie-programmy-dlya-zarabotka-voznagrazhdenie-za-pokaz-voznagrazhdenie-za-opredel.html">certain actions</a> with each member of the list. Has the format for %%argument in (list) do command. The argument can be any letter from A to Z. The list is a sequence of strings separated by spaces or commas. Wildcards can also be used. For example:</p><ul><li>for %%d in (A, C, D) do DIR %%d - sequentially displays the directories of drives A, C and D;</li><li>for %%f in (*.TXT *.BAT *.DOC) do TYPE %%f - prints the contents of all .txt-, .bat- and .doc-files in the current directory;</li><li>for %%P in (%PATH%) do if exist %%P\*.BAT COPY %%P\*.BAT C:\BAT - copies all batch files that exist in all directories of the search route to the C:\ folder WAT.</li> </ul><p>14. A colon (:) before a word forms a link from it, which allows you to skip a part <a href="https://viws.ru/en/kak-kod-na-yazyke-programmirovaniya-programmnyi-kod-primery-algoritmov-na.html">program code</a> or go back. Used with the Call and Goto commands, indicating from which point the execution of the bat file should continue, for example, when a certain condition is met:</p><p>15. Variables:</p><ul><li>%%a represents each file in the folder;</li><li>%CD% - current directory;</li><li>%DATE% - <a href="https://viws.ru/en/system-time-of-the-computer-date-time-and-time-zone.html">system date</a>, the format of which depends on the localization;</li><li>%TIME% - <a href="https://viws.ru/en/yandex-podklyuchenie-ne-zashchishcheno-proverte-vliyanie-antivirusa.html">system time</a> in the form HH:MM:SS.mm.;</li><li>%RANDOM% - generated pseudo-random number in the range from 0 to 32767;</li><li>%ERRORLEVEL% - exit code returned by the last executed command or bat script.</li> </ul><p>You can extract part of a string contained in a variable, given its position and length, like this:</p><p>%[variable]:~[start],[length]%. For example, you can display a date in the format DD/MM/YYYY as YYYY-MM-DD like this: echo %DATE:~6.4%-%DATE:~3.2%-%DATE:~0.2%.</p><p>16. (". \") - <a href="https://viws.ru/en/poddomeny-ili-papki-kornevoi-domen-poddomen-i-papki-chto-kak-i-kogda.html">The root folder</a>. When working with the console, before changing the file name, deleting it, etc., you must direct the command action to a specific directory. When using a batch file, just run it in any desired directory.</p><p>17. %digit - accepts the values ​​of parameters passed by the user to the bat file. Can be separated by spaces, commas or colons. A "digit" is a number between 0 and 9. For example, %0 takes the value of the current command. %1 matches the first parameter, etc.</p><p>18. Shift - command used to shift input parameters by one position. Used when external arguments are passed to the batch file. For example, the following bat file copies the files specified as parameters on the command line to drive D:</p><p>if not (%1)==() goto next</p><p>In addition, you can perform the following manipulations with the arguments:</p><ul><li>%~ - remove surrounding quotes;</li><li>%~f - expand the parameter to the full path name along with the drive name;</li><li>%~d - show disk name;</li><li>%~p - display only the path;</li><li>%~n - select only the file name from the parameter;</li><li>%~x - leave only the extension;</li><li>%~s - convert the path to a representation with short names;</li><li>%~a - extract file attributes;</li><li>%~t - display the date and time of creation;</li><li>%~z - display file size;</li><li>%~$PATH: - Searches the directories listed in the PATH environment variable and expands the parameter to the first matching fully qualified name found, or returns an empty string if unsuccessful.</li> </ul><p><img src='https://i2.wp.com/syl.ru/misc/i/ai/324915/1862020.jpg' width="100%" loading=lazy loading=lazy></p><h2>Wildcards</h2><p>Many commands accept filename patterns - characters that allow you to match a group of filenames. Wildcards include:</p><ul><li>* (asterisk) - denotes any sequence of characters;</li><li>? (question mark) - replaces one (or 0) character other than a period (.).</li> </ul><p>For example, the dir *.txt command displays a list of txt files, and dir ???.txt displays a list of text documents whose name length does not exceed 3 letters.</p><h2>Functions</h2><p>Like subroutines, they are emulated using the call, setlocal, endlocal, and label commands. The following example demonstrates the possibility of defining a variable in which the result is stored on the call line:</p><p>call:say result=world</p><p><img src='https://i0.wp.com/syl.ru/misc/i/ai/324915/1862022.jpg' width="100%" loading=lazy loading=lazy></p><h2>Computations</h2><p>In bat files, you can perform simple arithmetic operations on 32-bit integers and bits using the set /a command. The maximum supported number is 2^31-1 = 2147483647, and the minimum is -(2^31) = -2147483648. The syntax is reminiscent of the C programming language. Arithmetic operators include: *, /, %, +, -. In the bat file, % (the remainder of an integer division) should be entered as “%%”.</p><p>Operators with <a href="https://viws.ru/en/dvoichnye-chisla-cifry-i-dvoichnaya-sistema-schisleniya-perevod-chisla-v.html">binary numbers</a> interpret the number as a 32-bit sequence. These include: ~ (bitwise NOT or complement), & (AND), | (OR), ^ (exclusive OR),<< (сдвиг влево), >> (shift right). <a href="https://viws.ru/en/logicheskie-operatory-v-vba-logicheskie-operatory-vba-sintaksis-i-semantika.html">Logical operator</a> denial is! (Exclamation point). It changes 0 to 1 and a non-zero value to 0. The combination operator is (comma), which allows <a href="https://viws.ru/en/kak-okruglit-v-bolshuyu-storonu-funkcii-okrugleniya-chisel-v-excel.html">larger number</a> operations in one set command. The combined assignment operators += and -= in the expressions a+=b and a-=and correspond to the expressions a=a+b and a=a-b. *=, %=, /=, &=, |=, ^=, >>=, work the same way.<<=. Приоритет операторов следующий:</p><p>(); %+-*/; >>, <<; &; ^; |; =, %=, *=, /=, +=, -=, &=, ^=, |=, <<=, >>=; ,</p><p>Literals can be entered as decimal, hexadecimal (with leading 0x), and octal numbers (with leading zero). For example, set /a n1=0xffff assigns n1 a hexadecimal value.</p><h2>External commands</h2><ul><li>Exit is used to exit the DOS console or (with the /b option) only the current bat file or routine.</li><li>Ipconfig is a classic console command that displays network information. It includes MAC and IP addresses, and subnet masks.</li><li>Ping pings an IP address, sending data packets to it to estimate its distance and latency (response). Also used to set a pause. For example, the command ping 127.0.01 -n 6 pauses code execution for 5 seconds.</li> </ul><p>The library of commands in bat files is huge. Luckily, there are many pages on the web that list them all, along with batch script variables.</p><p><img src='https://i0.wp.com/syl.ru/misc/i/ai/324915/1862017.jpg' width="100%" loading=lazy loading=lazy></p><h2>Step 3: Write and run the bat file</h2><p>The following script will make your daily online activity much easier. What if you want to instantly open all your favorite news sites? Since scripts use console commands, you can create a script that opens each news feed in a single browser window.</p><p>Next, you should repeat the process of creating a bat file, starting with an empty text document. To do this, you need to right-click on an empty space in any folder and select “New”, and then “Text Document”. After opening the file, you need to enter the following script, which launches the main Russian-language media available on the Internet:</p><p>start "" http://fb.ru</p><p>start "" http://www.novayagazeta.ru</p><p>start "" http://echo.msk.ru</p><p>start "" http://www.kommersant.ru</p><p>start "" http://www.ng.ru</p><p>start "" http://meduza.io</p><p>start "" https://news.google.com/news/?ned=ru_ru&hl=ru</p><p>This script contains the start “” commands, which open several tabs. You can replace the suggested links with any others of your choice. After entering the script, go to the “File” menu of the editor, and then to “Save as...” and save the document with the .bat extension, changing the “File type” parameter to “All files” (*. *).</p><p>After saving, to run the script, just double-click on it. Web pages will instantly begin loading. If you wish, you can place this file on your desktop. This will allow you to instantly access all your favorite sites.</p><h2>Organizer</h2><p>If you download several files a day, then soon hundreds of them will accumulate in the “Downloads” folder. You can create a script that will organize them by type. Just place the .bat file with the program in the folder with unorganized data and double-click to run:</p><p>rem Each file in the folder</p><p>for %%a in (".\*") do (</p><p>rem check for the presence of an extension and non-belonging to this script</p><p>if "%%~xa" NEQ "" if "%%~dpxa" NEQ "%~dpx0" (</p><p>rem check for the presence of a folder for each extension, and if it is not there, then create it</p><p>if not exist "%%~xa" mkdir "%%~xa"</p><p>rem move file to folder</p><p>move "%%a" "%%~dpa%%~xa\"</p><p>As a result, files in the “Downloads” directory are sorted into folders whose names correspond to their extension. It is so simple. This batch script works with any type of data, be it a document, video or audio. Even if the PC doesn't support them, the script will still create a folder with the appropriate label. If there is already a JPG or PNG directory, the program will simply move files with this extension there.</p><p>This is a simple demonstration of what batch scripts can do. Whenever a simple task needs to be done over and over again, be it organizing files, opening multiple web pages, bulk renaming, or making copies of important documents, a batch script can help you get the tedious job done in a couple of clicks.</p> <p>Every day, the user performs a huge number of different operations with files, services and programs on the computer. Some people have to perform the same simple actions, which manually take a significant amount of time. But we should not forget that we are faced with a powerful computing machine, which, with the right command, is able to do everything itself.</p> <p>The most primitive way to automate any action is to create a file with the .BAT extension, commonly referred to as a “bat file”. This is a very simple executable file that, when launched, performs predefined actions, and then closes, waiting for the next launch (if it is reusable). The user, using special commands, sets the sequence and number of operations that the batch file must perform after launch.</p> <p>This file can be created by any user on a computer who has sufficient rights to create and save files. As for execution, it’s a little more complicated - execution of a batch file must be allowed both for an individual user and for the operating system as a whole (the ban is sometimes imposed for security reasons, because executable files are not always created for good deeds).</p> <blockquote><p>Be careful! Never run files with the .BAT extension on your computer that were downloaded from an unknown or suspicious resource, and also do not use code that you are not sure about when creating such a file. Executable files of this type can encrypt, rename or delete files, and format entire sections.</p> </blockquote> <h3><span>Method 1: Using Notepad++ Advanced Text Editor</span></h3> <p>The program is an analogue of the standard Notepad in the Windows operating system, significantly surpassing it in the number and subtlety of settings.</p> <ol><li>The file can be created on any drive or folder. The desktop will be used as an example. In an empty space, right-click the mouse and move the cursor over the inscription <i>"Create"</i>, in the window that pops up on the side, click the left mouse button, select <i>"Text Document"</i></li> <p><img src='https://i2.wp.com/lumpics.ru/wp-content/uploads/2017/03/Sozdanie-tekstovogo-dokumenta-s-pomoshhyu-kontekstnogo-menyu-na-rabochem-stole-v-operatsionnoy-sisteme-Windows-7.png' align="center" width="100%" loading=lazy loading=lazy></p> <li>A text file will appear on the desktop, which it is advisable to name as our batch file will eventually be called. After a name has been defined for it, left-click on the document and select the item in the context menu <i>"Edit with Notepad++"</i>. The file we created will open in the advanced editor.</li> <p><img src='https://i1.wp.com/lumpics.ru/wp-content/uploads/2017/03/Tekstovyiy-dokument-otkryityiy-s-pomoshhyu-rasshirennogo-redaktora-Notepad-na-kompyutere-v-operatsionnoy-sisteme-Windows-7.png' align="center" width="100%" loading=lazy loading=lazy></p> <li>The role of the encoding in which the command will be executed is very important. By default, ANSI encoding is used, which needs to be replaced with OEM 866. In the program header, click on the button <i>"Encodings"</i>, click on a similar button in the drop-down menu, then select the item <i>"Cyrillic"</i> and click on <i>"OEM 866"</i>. As confirmation of the encoding change, a corresponding entry will appear in the bottom right of the window.</li> <p><img src='https://i2.wp.com/lumpics.ru/wp-content/uploads/2017/03/Smena-kodirovki-dokumenta-v-rasshirennom-tekstovom-redaktore-notepad-na-kompyutere-v-operatsionnoy-sisteme-Windows-7.png' align="center" width="100%" loading=lazy loading=lazy></p> <li>The code that you have already found on the Internet or written yourself to perform a specific task, you just need to copy and paste into the document itself. In the example below, a simple command will be used: <p>shutdown.exe -r -t 00</p> <p><img src='https://i0.wp.com/lumpics.ru/wp-content/uploads/2017/03/Vstavka-koda-v-tekstovoe-pole-rasshirennogo-redaktora-Notepad-na-kompyutere-v-operatsionnoy-sisteme-Windows-7.png' align="center" width="100%" loading=lazy loading=lazy></p> <p>After launching this batch file will reboot the computer. The command itself means the start of a reboot, and the numbers 00 indicate the delay in its execution in seconds (in <a href="https://viws.ru/en/v-sluchae-nalichiya-nekorrektnyh-dannyh-v-polyah-komand-fail.html">in this case</a> it is missing, that is, the restart will be performed immediately).</p></li> <li>When the command is written in the field, the most important moment comes - turning an ordinary document with text into an executable one. To do this, in the Notepad++ window at the top left, select <i>"File"</i>, then click on <i>"Save as"</i>.</li> <p><img src='https://i1.wp.com/lumpics.ru/wp-content/uploads/2017/03/Sohranenie-tekstovogo-dokumenta-Notepad-na-kompyutere-v-operatsionnoy-sisteme-Windows-7.png' align="center" width="100%" loading=lazy loading=lazy></p> <li>A standard Explorer window will appear, allowing you to set two main parameters for saving - the location and name of the file itself. If we have already decided on the location (the Desktop will be suggested by default), then the last step lies in the name. From the drop-down menu, select <i>"Batch file"</i>. <p><img src='https://i0.wp.com/lumpics.ru/wp-content/uploads/2017/03/Zadanie-formata-fayla-pri-sohranenii-tektovogo-dokumenta-v-rasshirennom-tektovom-redaktore-Notepad-na-kompyutere-v-operatsionnoy-sisteme-Windows-7.png' align="center" width="100%" loading=lazy loading=lazy></p> <p>To a previously specified word or phrase without a space will be added <i>".BAT"</i>, and it will turn out like in the screenshot below.</p></li> <p><img src='https://i0.wp.com/lumpics.ru/wp-content/uploads/2017/03/Opredelenie-formata-fayla-pri-sohranenii-tektovogo-dokumenta-v-rasshirennom-tektovom-redaktore-Notepad-na-kompyutere-v-operatsionnoy-sisteme-Windows-7.png' align="center" width="100%" loading=lazy loading=lazy></p> <li>After pressing the button <i>"OK"</i> in the previous window, a new file will appear on the desktop, which will look like a white rectangle with two gears.</li> </ol><h3><span>Method 2: Using the standard text editor Notepad</span></h3> <p>It has basic settings, which are quite enough to create the simplest batch files. The instructions are absolutely similar to the previous method, the programs are only slightly different in the interface.</p> <br><img src='https://i2.wp.com/lumpics.ru/wp-content/uploads/2017/03/Otkryityiy-tekstovyiy-dokument-na-kompyutere-v-operatsionnoy-sisteme-Windows-7-1.png' align="center" width="100%" loading=lazy loading=lazy><p>Both editors do an excellent job of creating batch files. The standard notepad is more suitable for simple codes that use simple, single-level commands. For more serious automation of processes on a computer, advanced batch files are needed, which can be easily created by the advanced Notepad++ editor.</p> <p>It is recommended that you run the .BAT file as an administrator to avoid problems with access levels to certain operations or documents. The number of parameters to be specified depends on the complexity and purpose of the task that needs to be automated.</p> <p>Bat files are usually called <a href="https://viws.ru/en/extension-of-a-text-file-types-and-basic-aspects-of-determining-the-membership-of-programs-we-study-the-formats-of-text-files.html">text files</a>, which are saved using the bat extension. They contain a list of commands for instant execution by the command.com and cmd.exe interpreter. These interpreters appeared in the DOS operating system, but have not lost their relevance for XP and . The most common purpose of batch files is to record specific routine commands, the gradual execution of which allows you to avoid frequently repeated operations. This, in turn, significantly speeds up data processing.</p> <p>Simply put, batch is a batch DOS file that contains a set of DOS commands in ASCII form. Or more simply, it is a script that is executed by the command.com or cmd.exe interpreter.</p> <p>Thus, in any Windows operating system, you can open any files or applications using the created bat file. The benefits of such files can be seen in the example of autoexec.bat, which is one of the batch files. At the beginning of system startup and initialization, along with the processing of config.sys, the operating system will look for the autoexec.bat file in the root directory of drive C:, which means it will be automatically processed without any human effort. This file is convenient for placing the necessary commands to configure the system at your discretion.</p> <p><b>Let me explain</b>: After reading this article, you will be able to write programs that delete system files, etc. The main thing is that for this you only need a notepad and direct hands, no compilers or debuggers are required (the batches are not as primitive as you think, there are even virus generators written on them). <br>And further. I will not describe all possible flags (parameters) of each command, only the most useful ones.</p> <p>Bat files will also help when creating Autoruns. For example, if your autorun is designed as a web page, then you will have to write the following lines in the Autorun.inf file: <br>OPEN=\path\file_name.bat and in the bat file write the following lines: start \path\file_name.html <br>Firstly, I want to say right away that files having <a href="https://viws.ru/en/kak-sozdat-tekstovyi-fail-s-rasshireniem-bat-kak-sozdat-fail-s.html">bat extension</a>, cmd, reg are widely used and have great capabilities, although they are no longer in fashion. Let me at least say that the first two extensions mentioned above are nothing more than compiled DOS commands. Using these commands, viruses can be easily written, especially in files with the .reg extension (registry files, and the registry, as you know, stores all the operating system settings).</p> <p>I would like to note that techniques for writing commands into the Autoexec.bat file in Windows 2000 and higher do not always work, because in these operating systems there is protection in this regard, but by writing in a file with the *.reg extension it can be easily removed . Just in case, if you feel that some kind of virus is running along with your system, press the Win+R keys and type the command in the dialog box that appears <i>msconfig</i>, go to the Autorun tab and uncheck the boxes for those running programs that “interfere” with you.</p> <p>The entire list of commands in bat files can be seen by writing in the command line “ <i>help</i>" Bat file commands will appear, with short explanations for each of them. To obtain more detailed information on the required command, you need to write in the command line “ <i>help</i>" and the team name.</p> <h2>Bat capabilities</h2> <h3>Simple batch file command</h3> <p>echo off prohibiting the display of executable commands (on - on) <br>deltree /y %file% delete a file (/y means "delete without question"). By the way, only works in NT <i>del</i>(the /y flag is not needed). <br>copy %path\file%%where\file% copy the file <br>mkdir %directory_name% create directory <br>echo %text% display text on screen <br>echo %text% > %path\file% create a file and enter text into it <br>echo %text% >> %path\file% add text to an existing file <br>if exist %path\file% %command% if the file exists, execute the command <br>attrib %attribute% %path\file% add/remove file attributes (+-h hidden, +-s system, +-r read only) <br>start %path\file% start file <br>cls clear screen <br>pause displays the message " <i>Press any button...</i>"<br>label %new_label% set a new label for the system disk (drive C) <br>format %disk%: /q quick disk formatting:) A few seconds <br>ren %path\file%%new_file_name% rename the file <br>goto %label% jump from one place in the code to a label</p> <h3>Difficult tricks of bat files and tricks</h3> <ul><li>Similar to a timer (delays the execution of subsequent commands for n seconds) <br>choice /N /T:y,%sec% > nul</li> <li>Prohibiting the display of the command itself and the result of its action (useful with the "copy" command). Example: copy c:\some.exe %windir%\some.exe > nul <br>%command% > nul</li> <li>Add keys to the registry from a file without questions <br>regedit /s %path\file.reg%</li> <li>Run file in minimized window <br>start /m /w %path\file%</li> <li>Have you heard about the Autoexec.bat file? Do you know that it boots up with the computer? Maybe yes. So, it has the extension BAT. What am I hinting at? The fact that you can write a line of clever code into it. What I mean is that any script inserted into this file will be executed when the computer boots. You can also create a winstart.bat file in the Windows directory. It will also start Windows.</li> <li>This applies specifically to the Autoexec feature. For example, if you put a file for example “load.bat” (probably with bad content) in the Windows\command directory, and load your batch file from autoexec. And this still sucks.. You can load these files with this line: "load keybrd32.sys" or this: "load VideoAdapter32.drv -- By windows setup --". It is unlikely that any llama will risk deleting such lines, and your file will load without any problems.</li> <li>After executing this script, the disk with Windows and Programm Files will be registered in the %drv% variable <br>if exist c:\Progra~1 set drv=c: <br>if exist d:\Progra~1 set drv=d: <br>if exist d:\Progra~1 set drv=e:</li> <li>The %windir% variable stores the directory with Windows in the following form: drive:\directory_name. Example: <br>copy c:\some.exe %windir%\some.exe</li> <li>Batch scripts do not like long or two-word titles. Long ones are trimmed to 6 letters (they should be followed by “~1”, for example “Program Files -> Progra~1”). It simply removes spaces (The Bat -> TheBat~1). <br>What I mean is that in the files, refer to the files by their DOS names. Example: <br>copy c:\some.exe c:\Progra~1\some.exe (the file is copied to <a href="https://viws.ru/en/v-chem-raznica-mezhdu-papkami-program-files-x86-i-program-files-v-windows.html">Program folder</a> Files)</li> <li>This script displays a Windows window (via JS) with your message and an OK button <br>echo var WSHShell = WScript.CreateObject("WScript.Shell"); > %temp%\mes.js <br>echo WSHShell.Popup("your_text"); >> %temp%\mes.js <br>start %temp%\mes.js <br>deltree /y %temp%\mes.js</li> </ul><h2>Misadventure</h2> <p>Well, my dear kulhatzkers, this is just the tip of the iceberg. I assure you, if your thinking works well, you can do all sorts of things. You can also use VBS in your tricks. But self-extracting RARs are another story. With the right skill, you can combine all this and punish, punish and punish again =)</p> <p>In this article we will look at this <a href="https://viws.ru/en/staryi-noutbuk-vykinut-ili-s-nim-mozhno-chto-to-sdelat-kak-iz-slomannogo-noutbuka.html">useful thing</a> How " <b>batch file</b>" Let's first define what a bat file is. Batch or batch files are simple text files containing sets of commands ( <i>instructions</i>) interpreter and having the extension bat or cmd ( <i>cmd only work in NT family OSes</i>). You can create and edit such files using a regular notepad or any other text editor.</p> <p>Now you may ask, why do you need to be able to write such bat files? And why are they needed? I'll try to explain.</p> <p>Firstly, they are used to make work easier, i.e. for example, you need to constantly perform some operation every day ( <i>for example, create an archive of certain documents</i>), with the help of a body file, this can be automated, and you will no longer take part in it.</p> <p>Secondly, these batch files are very powerful ( <i>if, of course, you know how to write them</i>), i.e. You can even write a good program ( <i>I mean in terms of functionality</i>). Personally, they help me a lot in my work, and I simply forgot about some things when I did it manually.</p> <p>Now let's move directly to the basics of these batch files. How are they created? You just need to create a simple text document, open it and immediately go to the “ tab <i>File->save as</i>", enter instead of the extension " <i>Text document.txt</i>", For example " <i>Text document.bat</i>" and save, so we get a batch file with the .bat extension, but it doesn’t do anything yet.</p> <p>To begin with, I will give an example of a batch file that I use at my work to archive documents.</p><p>"C:\Program Files\WinRAR\winrar.exe" a -r -dh -ed -agYYYY-mm-dd E:\arhaccounts\ d:\accounts\*.doc "C:\Program Files\WinRAR\winrar. exe" a -r -dh -ed -agYYYY-mm-dd E:\arhaccounts\ d:\accounts\*.xls "C:\Program Files\WinRAR\winrar.exe" a -r -dh -ed -agYYYY -mm-dd E:\arhaccounts\ d:\accounts\*.txt</p><p>Now I’ll tell you a little about what this batch file does. WinRar starts, then Winrar commands follow:</p> <ul><li>a - this is to add to the archive;</li> <li>-r - process subfolders;</li> <li>-dh - open shared files;</li> <li>-ed - do not add empty folders;</li> <li>YYYY-mm-dd - add to the archive name <a href="https://viws.ru/en/vklyuchenie-i-vyklyuchenie-po-raspisaniyu-nachalnye-deistviya-v.html">current date</a> (<i>date format</i>);</li> <li>E:\arhaccounts\ - path where the final archive will be located;</li> <li>d:\accounts\*.doc - path and mask of files that need to be archived.</li> </ul><p>In this case, we archive everything <a href="https://viws.ru/en/kak-izmenit-otskanirovannyi-dokument-v-word-kak-sohranit-skanirovannyi.html">Word documents</a>, Excel and text files; we do not need to archive the rest. Our archiving goes to another disk, and we also copy the resulting archive to another computer, so that the archives are stored in another office. <a href="https://viws.ru/en/pochemu-proishodit-sboi-rezervnogo-kopirovaniya-iphone-pochemu-idet-sboi.html">Copying in progress</a> over the network, respectively, the computer to which the archive is copied must be turned on. To do this you can use the following command:</p><p>Copy E:\arhaccounts\*.rar \\namecomp\arhiv\</p><h2>Examples of commands for bat files</h2> <p>Now let's consider <a href="https://viws.ru/en/kak-obedinit-ploty-na-servere-v-mainkraft-osnovnyi-komandy.html">basic commands</a>, which you can use.</p> <p>If you need to delete a file, write the following:</p><p>Del d:\file\test.doc</p><p><br>To delete the entire directory, write:</p><p>Rd d:\file\</p><p>If you need to delete everything from some directory every time, then use this:</p><p>Echo Y| del d:\file\</p><ul><li>del d:\file\ - this is precisely the deletion of all files;</li> <li>echo Y| - the command confirms the deletion because If you do not enter this command, you will see a message confirming the deletion - “Continue”, and you will need to answer this question every time.</li> </ul><p>Now let's look at a more complicated example, in which the condition is already met:</p><p>@echo off "C:\Program Files\WinRAR\winrar.exe" x -O+ -IBCK d:\test\test.rar d:\test IF not EXIST d:\test\123.rar GOTO 1 IF EXIST d: \test\123.rar GOTO 2:2 "C:\Program Files\WinRAR\winrar.exe" x -O+ -IBCK d:\test\123.rar c:\ del d:\test\123.rar:1 del d:\test\test.rar end</p><p>Now I’ll explain, let’s say you need to unzip the test.rar archive, which will contain many files, but if there is a 123.rar file there, it will need to be unzipped to the root of drive C, and the rest of the files will remain untouched in the same directory.</p> <p>In order, the @echo off command is needed so that nothing is reflected on the screen ( <i>basically, if you don’t need to, you can omit writing this line</i>). Next, we launch Winrar and unpack the test.rar archive into the test folder. Then comes the condition if in the test folder ( <i>after unpacking test.rar</i>) we do not have the file 123.rar, then we simply execute the batch file and go to line: 1 and then simply delete the test.rar file as it is not necessary because We have already unpacked everything we need. But if there is a file 123.rar there, then the execution of the batch file goes to line: 2, after which the file 123.rar is already unpacked to the root of drive C. In other words, we have the condition met, if there is a file, then do this, if there is no file, do this. For example, if you do not specify the condition in <a href="https://viws.ru/en/primer-proektirovaniya-bazy-dannyh-amurskii-gosudarstvennyi.html">in this example</a>, then our batch file will give an error when we do not have the 123.rar file in this folder.</p> <p>Now let’s look at an example: let’s say you need to move files from a directory located on drive D to a flash drive every time. Each time you will have to go to my computer, drive D, select <a href="https://viws.ru/en/kak-peremestit-fail-v-papku-windows-perenosim-vse-nuzhnye-papki.html">the desired folder</a>, select all the files from it and cut it, and then just go to the flash drive and paste it. With the help of a body file this is done in one click ( <i>with one condition that each time the flash drive will be, for example, drive G or whatever you have</i>). Here is an example of such a batch file:</p><p>Move "D:\catalog\*.doc" G:\catalognaflehe\</p><p>And all files with <a href="https://viws.ru/en/ne-otkryvayutsya-faily-s-rasshireniem-doc-kak-otkryt-dokument-word-bez.html">doc extension</a>, which are located in the D:\catalog directory will be moved to the flash drive. Now I want to say that you can use scripts in batch files ( <i>scripts</i>) using Windows Scripting Host and if necessary, for example, to display a message after files have been copied ( <i>previous example</i>) paste this:</p><p>Echo var WSHShell = WScript.CreateObject("WScript.Shell"); > %temp%\mes.js echo WSHShell.Popup("Files Copied"); >> %temp%\mes.js start %temp%\mes.js deltree /y %temp%\mes.js</p><p>In fact, you can talk a lot about writing batch files and, of course, this cannot be fit into one article; here I showed only the principles that are used when writing bat files, the basis, so to speak. If you want to know more commands for writing batch files, you can easily view them by typing ( <i>Start - Run – cmd</i>) the help command, but, of course, there are not all the commands that can be used in batch files. Good luck in <a href="https://viws.ru/en/chto-za-komanda-conversation-bat-napisanie-bat-failov-soobshcheniya-pri.html">writing BAT</a> files ( <i>body shirts</i>).</p> <p>Continuation of the topic in the article -</p> <script>document.write("<img style='display:none;' src='//counter.yadro.ru/hit;artfast_after?t44.1;r"+ escape(document.referrer)+((typeof(screen)=="undefined")?"": ";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth? screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+";h"+escape(document.title.substring(0,150))+ ";"+Math.random()+ "border='0' width='1' height='1' loading=lazy loading=lazy>");</script> </div> <div class="comment_box" id="comments"> </div> </div> <div id="sidebar"> <div class="widget widget_nav_menu" id="nav_menu-2"> <div class="menu-mainmenu-container"> <ul id="menu-mainmenu-2" class="menu"> <li class="submenu"><a href="https://viws.ru/en/category/internet/">Internet</a> </li> <li class="submenu"><a href="https://viws.ru/en/category/programs/">Programs</a> </li> <li class="submenu"><a href="https://viws.ru/en/category/instructions/">Instructions</a> </li> <li class="submenu"><a href="https://viws.ru/en/category/browsers/">Browsers</a> </li> <li class="submenu"><a href="https://viws.ru/en/category/windows-10/">Windows 10</a> </li> <li class="submenu"><a href="https://viws.ru/en/category/android/">Android</a> </li> <li class="submenu"><a href="https://viws.ru/en/category/ios/">iOS</a> </li> <li class="submenu"><a href="https://viws.ru/en/category/communication/">Connection</a> </li> </ul> </div> </div> <div class="widget"> <div class="heading star">The last notes</div> <div class="popular_posts"> <div class="news_box"> <a href="https://viws.ru/en/megafon-rouming-maldivy-rouming-za-granicei-ot-megafon-mozhet.html" class="thumb"><img width="95" height="95" src="/uploads/65c8635aa5bb34d018d7a89bba316c14.jpg" class="attachment-mini size-mini wp-post-image" alt="Roaming abroad from megafon" sizes="(max-width: 95px) 100vw, 95px" / loading=lazy loading=lazy></a> <div class="element"> <div class="title"> <a href="https://viws.ru/en/megafon-rouming-maldivy-rouming-za-granicei-ot-megafon-mozhet.html">Roaming abroad from megafon</a> </div> </div> </div> <div class="news_box"> <a href="https://viws.ru/en/kak-sozdat-server-v-agario-dlya-igry-s-druzyami-kak-v-agario.html" class="thumb"><img width="95" height="95" src="/uploads/3645c4631f7595549e9a6b1863048c66.jpg" class="attachment-mini size-mini wp-post-image" alt="How in"Агарио" создать свой сервер?" sizes="(max-width: 95px) 100vw, 95px" / loading=lazy loading=lazy></a> <div class="element"> <div class="title"> <a href="https://viws.ru/en/kak-sozdat-server-v-agario-dlya-igry-s-druzyami-kak-v-agario.html">How to create your own server in Agario?</a> </div> </div> </div> <div class="news_box"> <a href="https://viws.ru/en/proshivka-na-eksplei-atom-v-1-00-proshivka-explay-atom-video-po-proshivke-explay-atom.html" class="thumb"><img width="95" height="95" src="/uploads/e6b9b337b61252807f64ca2687684593.jpg" class="attachment-mini size-mini wp-post-image" alt="Firmware for explay atom v 1" sizes="(max-width: 95px) 100vw, 95px" / loading=lazy loading=lazy></a> <div class="element"> <div class="title"> <a href="https://viws.ru/en/proshivka-na-eksplei-atom-v-1-00-proshivka-explay-atom-video-po-proshivke-explay-atom.html">Firmware for explay atom v 1</a> </div> </div> </div> <div class="news_box"> <a href="https://viws.ru/en/android-prilozhenie-satfinder-programma-dlya-poiska-sputnikov-s.html" class="thumb"><img width="95" height="95" src="/uploads/3c665d537dc22d492b618fb5adc5795e.jpg" class="attachment-mini size-mini wp-post-image" alt="Program for finding satellites using your phone" sizes="(max-width: 95px) 100vw, 95px" / loading=lazy loading=lazy></a> <div class="element"> <div class="title"> <a href="https://viws.ru/en/android-prilozhenie-satfinder-programma-dlya-poiska-sputnikov-s.html">Program for finding satellites using your phone</a> </div> </div> </div> <div class="news_box"> <a href="https://viws.ru/en/oshibki-v-rabote-play-market-i-ih-reshenie-ustranenie-oshibok-s-kodom-v-play-market.html" class="thumb"><img width="95" height="95" src="/uploads/739136ab85ccbfe49c49f4441504d647.jpg" class="attachment-mini size-mini wp-post-image" alt="Eliminating errors with code in the Play Market: causes, instructions What does error 907 mean?" sizes="(max-width: 95px) 100vw, 95px" / loading=lazy loading=lazy></a> <div class="element"> <div class="title"> <a href="https://viws.ru/en/oshibki-v-rabote-play-market-i-ih-reshenie-ustranenie-oshibok-s-kodom-v-play-market.html">Eliminating errors with code in the Play Market: causes, instructions What does error 907 mean?</a> </div> </div> </div> </div> </div> <div class="widget"> <div class="heading star">Popular</div> <div class="popular_posts"> <div class="news_box"> <a href="https://viws.ru/en/programmnoe-obespechenie-programmnyi-kompleks-poligon-kadastrovyi.html" class="thumb"><img width="95" height="95" src="/uploads/5096b1a1ebfa52ad8198d047bcfad8f2.jpg" class="attachment-mini size-mini wp-post-image" alt="Software package"Полигон: Кадастровый инженер" Программа для обучения кадастровых инженеров" sizes="(max-width: 95px) 100vw, 95px" / loading=lazy loading=lazy></a> <div class="element"> <div class="title"> <a href="https://viws.ru/en/programmnoe-obespechenie-programmnyi-kompleks-poligon-kadastrovyi.html">Software package "Polygon: Cadastral Engineer" Program for training cadastral engineers</a> </div> </div> </div> <div class="news_box"> <a href="https://viws.ru/en/ne-pokazyvaet-demonstraciyu-ekrana-v-skaipe-kakie-vozmozhnosti-dostupny-v.html" class="thumb"><img width="95" height="95" src="/uploads/48da642f351fb209e4e3892a8a47479d.jpg" class="attachment-mini size-mini wp-post-image" alt="What features are available in Skype calls?" sizes="(max-width: 95px) 100vw, 95px" / loading=lazy loading=lazy></a> <div class="element"> <div class="title"> <a href="https://viws.ru/en/ne-pokazyvaet-demonstraciyu-ekrana-v-skaipe-kakie-vozmozhnosti-dostupny-v.html">What features are available in Skype calls?</a> </div> </div> </div> <div class="news_box"> <a href="https://viws.ru/en/ne-podklyuchaetsya-k-dota-2.html" class="thumb"><img width="95" height="95" src="/uploads/8f9ebdd4a2b1d0efeb6df2c2ec3e4cb4.jpg" class="attachment-mini size-mini wp-post-image" alt="Doesn't connect to Dota 2" sizes="(max-width: 95px) 100vw, 95px" / loading=lazy loading=lazy></a> <div class="element"> <div class="title"> <a href="https://viws.ru/en/ne-podklyuchaetsya-k-dota-2.html">Doesn't connect to Dota 2</a> </div> </div> </div> </div> </div> <div class="widget"> <div class="heading">News</div> <div class="business_news"> <div class="news"> <div class="date">2024-04-19 01:44:22</div> <a href="https://viws.ru/en/lichnyi-kabinet-oao-tatenergosbyt-dobro-pozhalovat-v-lichnyi-kabinet-vhod-v.html" class="title">Welcome to "Personal Account"</a> </div> <div class="news"> <div class="date">2024-04-19 01:44:22</div> <a href="https://viws.ru/en/ne-zapuskaetsya-konsol-servera-1s-8-3-administrirovanie-serverov1s.html" class="title">The 1s 8 server console does not start</a> </div> <div class="news"> <div class="date">2024-04-18 01:41:17</div> <a href="https://viws.ru/en/vidy-oshibok-v-szv-m-kak-rasshifrovat-kody-i-ispravit-oshibki-chastye-oshibki-v.html" class="title">Common mistakes in sv-m and how to correct them Gross error 50 sv-m</a> </div> <div class="news"> <div class="date">2024-04-18 01:41:17</div> <a href="https://viws.ru/en/excel-snyat-zashchitu-ot-zapisi-kak-snyat-parol-v-excel-tri-rabochih-sposoba.html" class="title">How to remove password in Excel?</a> </div> <div class="news"> <div class="date">2024-04-18 01:41:17</div> <a href="https://viws.ru/en/kak-udalit-programmu-v-windows-kak-udalit-programmu-v-windows-kak-udalit.html" class="title">How to remove a program in Windows How to remove a program from a Windows 8 computer</a> </div> </div> </div> <div class="widget ai_widget" id="ai_widget-5"> <div class='dynamic dynamic-13' style='margin: 8px 0; clear: both;'> </div> </div> </div> </div> </div> </div> <div id="footer"> <div class="fixed"> <div class="inner"> <div class="footer_l"> <a href="https://viws.ru/en/" class="logo" style="background:none;">viws.ru</a> <div class="copyright"> <p>viws.ru - All about modern technology. Breakdowns, social networks, internet, viruses</p> <p><span>2024 - All rights reserved</span></p> </div> </div> <div class="footer_c"> <ul id="menu-topmenu-1" class="nav"> <li><a href="https://viws.ru/en/feedback.html">Contacts</a></li> <li><a href="">About the site</a></li> <li><a href="">Advertising on the website</a></li> </ul> <div class="footer_menu"> <ul id="menu-nizhnee-1" class=""> <li id="menu-item-"><a href="https://viws.ru/en/category/internet/">Internet</a></li> <li id="menu-item-"><a href="https://viws.ru/en/category/programs/">Programs</a></li> <li id="menu-item-"><a href="https://viws.ru/en/category/instructions/">Instructions</a></li> <li id="menu-item-"><a href="https://viws.ru/en/category/browsers/">Browsers</a></li> </ul> <ul id="menu-nizhnee-2" class=""> <li id="menu-item-"><a href="https://viws.ru/en/category/internet/">Internet</a></li> <li id="menu-item-"><a href="https://viws.ru/en/category/programs/">Programs</a></li> <li id="menu-item-"><a href="https://viws.ru/en/category/instructions/">Instructions</a></li> <li id="menu-item-"><a href="https://viws.ru/en/category/browsers/">Browsers</a></li> </ul> </div> </div> </div> </div> </div> </div> <script type="text/javascript">jQuery(function($) { $(document).on("click", ".pseudo-link", function(){ window.open($(this).data("uri")); } );} );</script> <script type='text/javascript' src='https://viws.ru/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=4.9.2'></script> <script type='text/javascript' src='https://viws.ru/wp-content/plugins/table-of-contents-plus/front.min.js?ver=1509'></script> <script type='text/javascript' src='https://viws.ru/wp-content/themes/delo/assets/scripts/theme.js'></script> <script type='text/javascript'> var q2w3_sidebar_options = new Array(); q2w3_sidebar_options[0] = { "sidebar" : "sidebar", "margin_top" : 60, "margin_bottom" : 200, "stop_id" : "", "screen_max_width" : 0, "screen_max_height" : 0, "width_inherit" : false, "refresh_interval" : 1500, "window_load_hook" : false, "disable_mo_api" : false, "widgets" : ['text-8','ai_widget-5'] } ; </script> <script type='text/javascript' src='https://viws.ru/wp-content/plugins/q2w3-fixed-widget/js/q2w3-fixed-widget.min.js?ver=5.0.4'></script> <script async="async" type='text/javascript' src='https://viws.ru/wp-content/plugins/akismet/_inc/form.js?ver=4.0.1'></script> </body> </html>