JIYIK CN >

Current Location:Home > Learning >

All

Run batch scripts using Task Scheduler

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

This article will show you how to use Task Scheduler to run a batch file. Run batch scripts using Task Scheduler With Task Scheduler, you can automate tasks to run automatically at specific times. It only takes a few steps and you don't nee...

Full

Renaming part of a file name in a batch script

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

Sometimes we need to rename a series of files in a specific order. Most project files contain this sequence, and we can easily do this in a batch script using a simple one-line command. This short article will show us how to change a specif...

Full

Running batch files remotely

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

Sometimes we need to use a computer remotely from a different location. We can use some third-party software such as TeamViewer to do this. But we can execute batch files from a remote directory without the need for third-party software. In...

Full

Transferring files to Raspberry Pi using batch script

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

This article will show a batch command that transfers a file from Windows to the Raspberry Pi environment and executes the file. PuTTY is a third-party free tool that implements Telnet and SSH for Windows and Unix platforms for free. It als...

Full

Create a shortcut for the batch file

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

This article discusses various methods of creating batch file shortcuts on Windows. We will cover two different methods for having a batch script create a shortcut in the Windows Startup folder. PowerShell command to create a batch file sho...

Full

Get the current batch file directory

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

This article demonstrates how to determine the location of a batch file. Batch scripts are great for automation. Sometimes you may need to get the location of a batch file. This article will help you determine the working directory and batc...

Full

Stop a running process from a batch file

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

This article explains how to stop a running process from a batch file in Windows. We use Batch's taskkill command to terminate the running process. 请注意 , the command will be executed only if the specified process is open. Batch file t...

Full

Extract or unzip files in batch script

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

In this article, we will see how to create a batch script to extract files from a zip file. Create a batch script to unzip the files We can extract or decompress files using batch scripts which need to contain the destination directory wher...

Full

Running batch scripts in C#

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

In this article, we will see how to write a C# program that can run a batch file from a directory. Running batch scripts in C# In C#, when we want to execute a batch file, it acts as a process. You can follow the sample code below to run a...

Full

Replace text in a file in batch script

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

In this article, we will look at some ways to replace text in a file. We will look at two different ways. Our first approach consists only of a batch script to perform the task, while the second approach provides a solution through Windows...

Full

Echoing to stderr in Bash

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

The default error message variable for built-in Bash scripts is called stderr. It is also called standard error and is the default output device for errors. Sometimes we have to redirect the error to an output channel. The Linux environment...

Full

Echo Tab Character in Bash Script

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

This article explains how to echo one or more tab characters when using Bash scripts. Echo Tab Character in Bash Script echo The command is simple: it prints whatever is passed to the terminal. Normally, if you save a variable as: example=...

Full

Parsing XML in Bash

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

It's almost impossible to find a developer who still doesn't use XML. It's a popular markup language that's widely used to structure and transmit data. This article will show how we can parse XML with Bash. We will discuss two libraries her...

Full

Passing all arguments in Bash

Publish Date:2025/03/21 Author:JIYIK Category:OPERATING SYSTEM

In Bash scripts, we mainly use the syntax $1 $2 $3 ... $N to pass variables in functions. Here N is a non-negative integer such as 1, 2, 3, .... But there is a shortcut to accomplish the same task of passing all the arguments. This article...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial