Skip to main content
Advice
0 votes
2 replies
82 views

I have a report CSV file that has some special characters in the header row. I would like to set up a short script in a .bat file to remove these characters, so i can schedule a task to automatically ...
Donald.H.Hartley's user avatar
0 votes
3 answers
114 views

I would like to rename a bunch of files in a given directory that are already present in ascending order to another line of consecutive ascending numbers. The goal is to close gaps in between and get ...
Arek's user avatar
  • 1
Best practices
1 vote
4 replies
121 views

I have this .bat file that I use to open .csv files, which counts the lines in them and uses Excel to open if under a million records and a separate program to open if more than a million records. The ...
Tyler Moore's user avatar
-1 votes
0 answers
47 views

I attempted to execute the following command in a Jenkins batch script to run the executable named "GitFetcher.Exe," which is located within the tools directory of "IB.SO.AutoUtility.&...
Mahendran V M's user avatar
-2 votes
1 answer
68 views

I obtained a batch script from Google AI for performing string replacement on the content of a list of text files in Windows. This is what I got--with a little tweaking, first. (Just testing at this ...
Dave Clark's user avatar
1 vote
4 answers
170 views

Given is a string which is a url of a file, e.g. http://url.com/file.zip. I want to extract the path without the file name, i.e. http://url.com/. My idea for doing this was to break down the string ...
C4lculated's user avatar
1 vote
3 answers
247 views

I have a large number of files (about 3800) that I want to run a program over. The program reads a WAV file and makes a short .TSV text file containing the WAV's lip-sync data (but that is by-the-by ...
Benjamin Rich's user avatar
-1 votes
2 answers
96 views

My bat file named A.BAT is: @echo off set /a file = %1 set /a group = %2 @echo file is %file% @echo group is %group% ren %file% myfile-%group%_%date%.dat exit =============...
G Geber's user avatar
1 vote
1 answer
103 views

I noticed that some software I use, AutoDarkMode, doesn't randomize the first wallpaper it switches to, so I thought I'd write a batch file to do it by copying one wallpaper in the folder and renaming ...
JPrest's user avatar
  • 13
-3 votes
1 answer
97 views

I have a cli app written in go and when it closes I want the directory to move to the selected one. When I close I wasn't able to find any way for that to happen so I tried making a .bat wrapper for ...
Joseph Jitto's user avatar
0 votes
2 answers
177 views

I'm trying to output part of a file (the text enclosed between :begin(...) and :end(...) markers) using a BATCH script. The target is pure ASCII text but it may contain blank lines and symbols; the ...
Fravadona's user avatar
  • 17.6k
2 votes
2 answers
81 views

I am trying to create a trivial .bat file to act as shortcut to invoke a python script including a password that include a £ symbol. This fails because batch treats the £ as a box character I thought ...
MymsMan's user avatar
  • 325
2 votes
3 answers
226 views

Problem Given some arbitrary process that may or may not output to both stdout and stderr, I need a way to execute that process on the command line in Windows that captures stderr on its own. I also ...
OmniZ's user avatar
  • 143
1 vote
2 answers
94 views

I use an enigma2 receiver to record movies and TV shows. One recorded file has additional files: filename.ts filename.eit filename.ts.ap filename.ts.cuts filename.ts.meta filename.ts.sc I copy only ...
moses19850's user avatar
2 votes
1 answer
61 views

I need to get the mediainfo item "Bits-(Pixel*Frame)" from every mp4 file of a folder. If that item doesn't exists (It doesn't for all movies), I will try to derive it from other items. So ...
User42's user avatar
  • 105

15 30 50 per page
1
2 3 4 5
3356