Beat

Windows

[Windows] Batch script example to change "Power Options" to "High Performance" or "Ultimate Performance"

Hello!Today, I will introduce an example of a batch file that changes the "power option" of Windows to "high performance" or "ultimate performance".I usually use a computer, "I bought an expensive computer, but it's slow ..." "It's more crisp ...
Windows

[BAT] I want to delete all "blank lines" in a text file!A script example that deletes all "blank lines" by dragging and dropping into a batch!

Hello!This time, I will show you how to create a batch file that erases all "blank lines" in a text file in an instant! When you want to delete "blank lines", it is difficult to open a text file and delete it manually, isn't it?It's not a big deal for a few lines ...
Windows

[Bat] How to create a batch file that starts with system privileges!Let's use the task scheduler to elevate to system privileges and execute the process!

Hello!This time, I would like to introduce how to execute a batch file with "system authority" which is one of the highest authority in Windows.Usually, the "authority" when operating on Windows is "user authority (Users group)" ...
Windows

[Bat + PowerShell] A method to decompress and unzip multiple zip files at once.You can copy the code immediately without installing the software!

Hello!This time, I would like to introduce how to combine batch files and PowerShell to decompress multiple Zip files at once. Zip files are one of the most well-known formats for compressing files and folders. ...
Windows

[Bat] How to create a batch file including restart that you want to execute with administrator privileges!Log in automatically!I won't show you my password!

Hello!This time, I would like to introduce a form that applies the batch file technique introduced so far. Previously introduced how to create a batch file that automatically executes with "administrator privileges" and how to create a batch file that continues processing even after "restart" ...
Windows

[Bat + PowerShell] How to mask (hide) input such as password in batch file!

Hello!This time I would like to introduce how to mask the input to "*" in a batch file. Don't you remember the word "shoulder hacking"?If you work for a company, you may have heard about it in security classes ...
Windows

[Bat] How to create a batch to get the file name by deleting the file extension with the command! Let's master "Dir", "For sentence" and "% ~".

Hello!This time I will introduce how to get the file name without the extension in batch. The DIR command is one of the most popular Windows commands out there, listing file and folder information ...
Windows

[Bat] Use the environment variable name including "%" when operating the registry with the REG ADD command.

Hello!This time, I will introduce how to use commands that include environment variables when operating the registry.Environment variables are variables that have batch-specific behavior.The variable name is enclosed in% and is written as "% variable name%".Parsing first when executing a command, ...
Windows

[Bat] How to run as an administrator of another user

Hello!This time, let's combine batch and powershell to create a batch file that can be processed by users other than yourself with administrator privileges!Sometimes I want to execute commands and batch files as another user, such as in a domain environment ...
Windows

[Windows] Batch backup and installation of drivers!Introducing an example of creating commands and batch files!

Hello!This time, I will show you how to back up the installed drivers in a batch and how to restore them! The method of backing up the driver is often performed by a clean installation of the OS or repair of the driver.Shi ...
Windows

[Bat] How to make a batch to install multiple msu!Let's apply the updates all at once.

This time I would like to make a batch that installs the .msu extension file, which is common in Windows updates.That alone is not a trick, so try installing multiple msu files collected in one place in a folder at once ...
Windows

[Bat] How to get the path of the batch file itself! Let's master "% ~ 0".

Hello!This time, I will summarize how to specify the path that is often used in the batch file.You can easily get your own path by using "% ~ 0" in the batch file.This is a method that I often use, so I would like to introduce it all together. ...
Translate »
I copied the title and URL