Category "batch-file"

Grep is not recognized as command in windows [duplicate]

I'm trying to convert a file into txt and sort it. I'm using wget, that I've already installed wget 'https://bitkeys.work/btc_balance_sorted.c

How to modify a numeric variable value with Windows batch [duplicate]

I have a script file script_A.cmd containing a lot of commands, including the following: set NUMBER_RUN=1 This script calls another script

how to set up the environment for the v142 for Visual studio 2019 using Cmd prompt

I am not able to build project , i am getting this error in cmd prompt(attached screenshot), please anyone can help me to resolve this issue!! Ps: I have instal

Using CMD How i create a new file that combines lines from from two other text files?

Here is what I am trying to achieve... File1.txt I love File2.txt Cake Cheese Money File3.txt aka results.txt I love Cake I love Cheese I love Money I found the

Sorting Folders alphabetically using a batch file

I need to sort a large number of files folders from alphabetical blocks of four to each individual letter. I have been attempting to do this using a batch file

Python Script cannot run using Batch File

hihi, I just installed Anaconda3, and my script was able to run smoothly using Spyder. But when I call it using batch file, the below error is show: C:\Users\De

I want my batch file to execute my jar file in PowerShell and not cmd?

I made a .jar file for my little Programm that works in the Terminal. I also made a bat file to open my jar file automatically however it opens my jar file in t

Two of the same commands give different result (output as utf8)

I have a .bat file that contains two commands: SQLCMD -S . -d "databaseName" -E -i "path_to_query1.sql" -y0 -s "|" -f o:65001 > outputPath1.json SQLCMD -S

In Windows cmd, how do I prompt for user input and use the result in another command?

I have a Windows .bat file which I would like to accept user input and then use the results of that input as part of the call to additional commands. For examp

trying to get administrative permission(without uac) in batch file

@echo off goto check_Permissions :check_Permissions SET "C:\Users\BDAS\Desktop\check_admin=%~dp0"&SET "check_admin=%~dpf0" net session >nul 2>nul &am

Why redirecting cmd error to file doesn't work

The thing is that redirecting errors to the file in command line doesn't work. I will explain this by giving an example. ping /wrong > output.txt 2> error

How can I link to an Excel file on a network share from a php web page?

I am trying to link a file on a php webpage which is hosted on a server within our local network using IIS. The workbook must load via the network location and

Storing Ipv4 address into a .env variable

I am trying to find a way on how to store a IPV4 address into a variable in .ENV file in my ReactJS project, but my problems are: 1.) How can I get the IPV4 add

Storing Ipv4 address into a .env variable

I am trying to find a way on how to store a IPV4 address into a variable in .ENV file in my ReactJS project, but my problems are: 1.) How can I get the IPV4 add

Run VS code projects through batch file

I have so many projects I have to open during windows startup. So I have created batch file to open them in vs code as following. start cmd /C code C:\project1

Batch script Mix Forfiles Cmd to print a PDF

I'm stuck with this script echo off SET pathAdobe="C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe" SET pathDestination=T:\ cd %pathDestination% (1) for

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