A batch file is a text file containing a series of commands that are executed by the command interpreter on MS-DOS, IBM OS/2, or Microsoft Windows systems.
52,246
questions
0
votes
0
answers
15
views
Is it possible to use an output name created within RMD chunk as knit file destination?
I am knitting markdown code initiated from a database command button with a shell command to execute a batch file. The goal here is to knit the file into a directory specific to the database record. ...
-1
votes
0
answers
17
views
Windows Batch Scripting using REG ADD command
This is a revised version of my first question. I am currently creating a batch script to edit settings in the windows registry. I am a little confused on the "/d" part of my script. For ...
0
votes
0
answers
17
views
Batch script run target as .ini with two files?
Our organization has a file that can't be run with the executable. Instead they have a shortcut in start menu folder with the following target:
"C:\Program Files (x86)\vendor\file.exe" "...
0
votes
0
answers
19
views
Batch file - open command line program that awaits input and input a command automatically
I have a command line program which can be opened from a .cmd file and awaits user input for different commands. I want to crete a batch script/file that starts the cmd and does different commands in ...
0
votes
1
answer
20
views
batch code to list ip addressess that do not ping
I am using the code below to list ip addresses from a list of computer names on list.txt, but they have to be pinging to list. How can I edit the code to show these IP addressess that do not ping also?...
0
votes
0
answers
14
views
fix batch script pausing with "ng" command
My Code:
@echo off
ng build 2> Nul
if "%errorlevel%" == "9009" (
call npm install -g angular/cli@9.0.0
)
exit
the code your are looking at is called from another batch ...
0
votes
0
answers
8
views
Esp8266 Esptool error:'esptool' is not recognized as an internal or external command, operable program or batch file
I successful installed pyserial (pip install pyserial) and esptool (pip install esptool) and I flashed my device with the esp8266-20170612-v1.9.1.bin file.
When I connect my device and list_ports, I ...
0
votes
1
answer
21
views
Batch Scripting percent tilde string and starting a process syntax understanding
I need help with understanding the following Batch script structure:
This is named Profile_something_schedule.bat
call somePath\lib.cmd :someLabel reqPath
call somePath\lib.cmd :someLabel reqKey
%...
-1
votes
0
answers
12
views
Renaming files in SFTP with BATCH File [duplicate]
I have to move some xlsx from sftp to local drive. Then move these files in sftp to another subfolder in the sftp. I created a batch file for this but getting error in the for loop.
@echo off
"C:...
0
votes
1
answer
21
views
How to verify the format of a date in batch?
I write a batch script and I want to verify that the user enters a date in correct format like DD-MM-YYYY.
But I have a problem with a variable. I can display its value with the command echo, but the ...
0
votes
1
answer
16
views
Print the full name of user in batch
I need to print the full name of the current user in the console, I have this code that does what I need but only partially
NET USER %username% /DOMAIN | FIND /I "Full name" >tmp.txt
set /...
-1
votes
0
answers
25
views
Change the folder path to pick from a excel cell instead of fixed path in VBA
I have the below macro to run through CMD and instead of fixed file path, I need it to pick from cell A1 on Sheet1. (I have the full command line in cell A1 cell created through =concatenate formula)
...
0
votes
1
answer
38
views
Sorting Words in .txt for excel
I'm trying to create a quick .bat to sort some data from cards quickly. But I'm wording if its possible to take the data I'm collecting, and have it sorted in excel automatically. If I could have the ...
-3
votes
0
answers
27
views
Batch script to add URLs to ...Java\Deployment\Security\exception.sites [closed]
I have the following script and for some reason it is only adding the first 2 exceptions to the Java Exceptions list.
I have tried google as well as trying to mimic like scripts.
I know it will be an ...
0
votes
1
answer
25
views
Is there a variable for the file you open the CMD file with?
My CMD file:
java -jar unluac.jar unluac.lua > unluac_decompiled.lua
So in my CMD file, I have to manually change the name of the file I want unluac(.jar) to decompile. Now what I want is to be ...