Category "batch-file"

Creating a batch script which takes inputs from the user and creates folder structures

Cobra kai_______Season 01_______S01E01 | |______S01E02 |____Season 02 |______S01E03 | |______S01E04

Script check app version to trigger action

I want to use GPO deploy log on script for User Configuration to check the McAfee app version, If not installed, go to install If already installed, go to skip

windows batch keep returning a sytax error: cant find the hitch

just want my batch to rotate screen, open a program, and rotate back when closed: REM starts by rotating the screen using a program called display64 START C:\

Batch list folder contents, then echo results as options to be set as variables

I usually like to try to work these out myself, but at the moment I have to admit I don't know where to start with this one. Hoping someone could kindly steer m

Trying to back up my Bitlocker Key to ADDS Through Script

I'm trying to automatize the process of storing BitLocker Keys to ADDS. I wanna be able to run the following script at logon, in order to do that, as the OS is

How to execute Powershell's "start-process -Verb RunAs" from inside a Batch where the elevated command inherits the Batch's environment?

1. Problem I have a complicated batch file where some parts need to run with elevated/admin rights (e.g. interacting with Windows services) and I found a Powers

Using batch for processing Text file

I am new to batch scripting and would like to process my input file with the content : MD5 hash of sample.js, 81f87dd81ef88f59a57d95d9ede5f92e MD5 hash of sear

How to move file from another directory to created folder that make by name file?

I already make script file for make new folder base on file name and move 1 file to this folder. The code as below. @ECHO OFF setlocal EnableExtensions Disable

Sending email with attachment using Cygwin email package

I installed cygwin together with this package: https://cygwin.com/packages/x86_64/email/email-3.2.1-git-1 Do you know how to create a bat file and send email wi

Find multiple string matches from the original string batch script

I currently have a list of files in a folder that i need to iterate through and exclude the non production files that matches the pattern. how do i search for m

bat file in Windows scheduler not running python script

I am trying run a python script to update a ppt presentation. I have also tried this a year ago with running a regression and updating a table in SQL and didn't

Setting name of current file being read as variable

Using a for loop in a batch file, from a folder full of xml files, I am trying to parse an xml tag but also the file name of the current file being read. I have

How to prompt a user multiple times by a batch file with multiple user inputs?

I want to change the serial number and product number of about 250 servers (they are not correct at the moment). I know the command that I need to use, but I ne

Executing command on Plink command line fails with "not found"

Goal: connect to AntMiner via SSH, and send poweroff command. command: plink.exe -v -t -ssh antminer -l root -pw xxx poweroff Connecting to 10.0.1.11 port 22

using powershell inside batch file to add floating numbers from text file

i have a text file logging timestamps from ffprobe on video durations of some video files, which that text file looks like this: 14.068700 5.043011 84.071967 5

Create folders and files from txt batch script

I've already found most of the answers, but I still can't use the batch file to create what I need. I need to create folders according to the list in folders.tx

Change file content using batch

So I have this going and I need a little help to improve it @ECHO Off setlocal ENABLEDELAYEDEXPANSION cd /d "%~dp0" :: Significant part of string set "replace

Bat file to to run a group of text files in sequence

I am new here and I am having a bit of trouble obtaining my desired output. I have a locked down system with no Powershell etc and I need to manipulate some txt

Run octave script from powershell and wait for it to finish

I'm trying to run a very simple octave .m file from Powershell but i can't manage to make powershell wait for it to finish. In fact, it launches the script exec

Curl request to batch or windows command line [closed]

I would like to create a github repository using a command line/batch script or whatever on windows. This request works on https://reqbin.com/