Skip to main content

All Questions

Tagged with or
Advice
0 votes
9 replies
78 views

I used a batch gnu for windows tool to split "file1.csv" files in multiple files. As result it creates a list of files placed in a secondary folder like: - file1.csv_aa; - file1.csv_ab; - ...
Toni Meneses's user avatar
-2 votes
0 answers
52 views

I want to type multiple words, that will be stored in string separated by 'enter'. Something like this: input = "word1 word2 word3 word4 (...)" Here is my code cd /d "%~dp0" @echo ...
Shruikan's user avatar
Tooling
0 votes
4 replies
97 views

I followed the advice from this question and I started to experimenting with Selenium, but I feel like it has to many limitations. Could you recommend something more suitable? A simple program that ...
Shruikan's user avatar
0 votes
1 answer
50 views

I am trying to automate an application update across multiple Windows servers. Before the update runs, I need to log off all users (Active, Disconnected, Hung, etc.) from several servers, except the ...
Geo Thomas's user avatar
Best practices
0 votes
4 replies
68 views

I'm making a jokey-joke batch script that needs a password input to get in. I'm trying to make a part of it where it re-writes a .txt file and generates random stuff and hides the password in there. I ...
Recurser's user avatar
Advice
0 votes
6 replies
85 views

I have multiple directories and in each of those subdirectories, there's a subdirectory called !img which contains backup images of the previous directory. Like this: Test1\!img \Other\!img \...
user704270's user avatar
-4 votes
2 answers
123 views

I am using a for loop to recursively search through a directory for files of a specific file type, and then extract them to a different location. Right now I extract all of the files to the same ...
David K's user avatar
  • 1,350
1 vote
1 answer
113 views

I try to make a batch file to just confirm hosts are up. I have sections that work just fine but when trying to put them together it all goes to hell. The code is as follows: @echo off setlocal ...
Tired's user avatar
  • 3
1 vote
3 answers
88 views

The code below shows the BIOS mode UEFI or Legacy if used in cmd (command prompt window) or in a batch file. How to modify the below command line so that a variable can be used, for example BIOS_MODE, ...
markus625's user avatar
3 votes
1 answer
109 views

I am trying to implement a minimal "tee" function in batch. I followed an example as the base for my code, which uses tee_nt.txt as its source. I've written a simple test to understand the ...
Furutsun's user avatar
Advice
1 vote
6 replies
81 views

I'm trying to write a Batch file that will recurse 1 level and for all the directories in that level, go in to each of them and run commands. For example. In every directory in my current directory, I ...
user704270's user avatar
Advice
1 vote
2 replies
94 views

I need to build a cmd file that copies "Merge.txt" from the same directory of cmd file to "D:\StackFlow\" Note: I want to copy that file whenever I change the directory source
A Mu's user avatar
  • 23
Advice
0 votes
5 replies
97 views

I have some data fields gathered in a SET statement like this: set "datastr=%num_cde%, %id_achat%, %modele%, %sysfam%, %serial%, %ldt%" later assigned to an email body as: SET "...
calade's user avatar
  • 35
1 vote
1 answer
135 views

I have a batch escaping problem involving 3 files: chain.bat conatins this code: for %%x in (%*) do ( %%~x ) b.bat contains this code: chcp 65001 >nul start chrome --profile-directory="...
Shai Ben-Dor's user avatar
-1 votes
1 answer
80 views

SET UP I have multiple scripts that I execute with a .bat file, like so: cd C:\\path\\to\\my\\project\\directory echo Running script 1 "C:\\ProgramData\\miniforge3\\envs\\myenv\\python.exe" ...
bismo's user avatar
  • 1,655

15 30 50 per page
1
2 3 4 5
3356