bat file to run it or use the steps below to execute the script with Command Prompt, File Explorer, or Task Scheduler.
#How to open a window in kbasic windows 10
The above script executes each line to query a series of system information, and the result will be divided into three categories, including "WINDOWS INFO," "HARDWARE INFO," and "NETWORK INFO." Also, the "START" command will open the web browser in the official support page outlining the Windows 10 system requirements, which you can check against your information. Systeminfo | findstr /c:"Total Physical Memory"
:: This batch file details Windows 10, hardware, and networking configuration.ĮCHO Please wait. Type the following lines in the text file to create a more advanced Windows 10 batch file: OFF To create an advanced batch file with multiple commands, use these steps: Alternatively, you can use the steps below to learn the different ways you can run a batch file on Windows 10 using Command Prompt, File Explorer, or Task Scheduler. Once you complete the steps, you can double-click the file to run it. bat file extensions, you can also find them using the. Quick note: While batch files typically use the. You can use this command at the end of the script or after a specific command when running multiple tasks and want to pause between each task.Ĭonfirm a name for the script - for example, first_basic_batch.bat. ECHO - The command prints the text after the space on the screen.
(You can use the command without the symbol, but using it hides the executing command to create a cleaner return.) The above script outputs the phrase, "Congratulations! Your first batch file was executed successfully," on the terminal screen. Type the following lines in the text file to create a batch file: OFFĮCHO Congratulations! Your first batch file was executed successfully.
#How to open a window in kbasic how to
How to create a batch file on Windows 10.