

Type the following command in the text editor: net use z: \\PATH-NETWORK-SHARE\FOLDER-NAME /user:USERNAME PASSWORD.Search for Notepad and click the top result to open the app.To create a script to change system settings on Windows 11, use these steps: One of the most common reasons to use scripts is to automatize different tasks to make system changes, such as connecting a network drive, installing an application, or changing system settings. PAUSE - Keeps the window open after running the commands.Usually, it's used to write comments and documentation information. :: - Ignores the contents of the line.TITLE - Renders a custom name for the window title bar.Type a name for the script - for example, advanced_batch.bat.Īfter you complete the steps, running the batch file will open a Command Prompt console outputting the results for each command.This script executes multiple system commands in sequence and outputs the computer information in three different categories, including "Windows details," "hardware details," and "network details." Ipconfig | findstr IPv4ipconfig | findstr IPv6 Wmic path win32_VideoController get CurrentHorizontalResolution,CurrentVerticalResolution Systeminfo | findstr /c:"Total Physical Memory" :: This batch file reveals Windows 11, hardware, and networking configuration. Type the following lines in the text file to create an advanced OFF.Search for Notepad and click the top result to open the text editor.To create an advanced batch script, use these steps: You can use this command at the end of the script or after a specific command to insert a break on each line. If you don't use this option, the prompt will close automatically after the script finishes.
:max_bytes(150000):strip_icc()/closeallwindows-1bbcb8ea9a574f37a1c0cbfb68220139.jpg)
ECHO - Prints the text after the space on the screen.

