Batch script Related Problems & Solutions

160 tags
Refine Tags
Search Tags:

Start a discussion

Results 1 - 30 of 160
[Solved] How to make a terminal in batch?
Summary: How do you make a terminal in batch? i don't know. please answer. paste the code in it please. And if you are sure it works, Say you DO KNOW that it w...

Win 10 Startup Batchfile doesn't work
Summary: For about the last 20 years I've had a batch file that runs when th computer starts, and it logs the start time. But now, with Win 10, a) I can't g...

[Solved] weird execution delay in large.bat file
Summary: Hey guys, i have 2 .bat files, both have the same loop in them, same code & all, the only diffrence is filesize. One of which is executing the loop in...

[Solved] How to update batch file with registry key value
Summary: Hi, I would like to know how to update a batch file with the value from registry key so as to subsequently add files to the folder. Eg: I have the bel...

[Solved] Check if my batch job is running and do some operations?
Summary: I want to check if my batch job is running beyond 1 hr and if that is the case notify me else start the next round of batch job. My script is schedul...

[Solved] Batch script hangs on REG ADD
Summary: I'm working on a batch script that adds some registry keys here and there, it successfully manages to add keys to HKCR, however it freezes whenever ad...

[Solved] Disabling window resize in batch file
Summary: I'm trying to make a UI for my batch script with multiple colors, which works great. However when the window is resized it messes up everything. I'm t...

[Solved] How To Create A Chance Code In Batch/Script File
Summary: Hello! I am creating a batch file RPG game and I'm trying to figure out how to create a "Chance" batch code. Purpose: Character Level 1-15 has 80%...

[Solved] Piping command output to sub
Summary: I'm working on a tiny script that requires me to pass the stdout of this code: CERTUTIL -ENCODE "%~1" "%~N1.B64" | FIND /I "ERROR_" && SET ENC...

how to get the floating variable in a string?
Summary: Hi all, in my input text file I have a string: dActualMeasTimeRfBl_Msec = 25.82 I want to write a batch file to get the 25.85 but all I have trie...

[Solved] Batch Script to rename file extensions
Summary: Hi all, I was hoping you can help me with my struggle trying to write a batch script which will rename all ".txt" file to ".pip" Every week or so I r...

[Solved] Strange Problem with script works then does not work
Summary: I wonder if anyone can help with a rather odd problem I discovered with a script I use in batch ? When I run this script on Windows XP, it works fine,...

[Solved] Strange batch file behaviour
Summary: I have this simple batch file: @Echo off setlocal enabledelayedexpansion Echo test pause > nul endlocal exit But when I run it, this happens: http://p...

[Solved] Extract one number from a specific line from a .txt file
Summary: Hello. I have the following Problem with my batch-file: findstr "Complete:" %MyLogFile% | findstr %ScanID% >>temp.txt With the abov...

[Solved] Need to increment a value
Summary: Hi there, This is a working script that finds and replaces the text in a file in one single instance. I need to be able to parse an entire directory ...

[Solved] Batch get powershell version
Summary: I'm working on a batch file that checks for which powershell version is installed. The PS get-host command outputs something similiar to this: Name ...

my antivirus batch file seems to not run correctly...help!
Summary: i want it to pause or say if your clear of a virus... because if you dont have a virus... it doesn't work... i still need it to at least say "no viru...

[Solved] Use more than one color at the same time in batch file
Summary: HI. I need a cod to use more then one color in my batch file without change all batch colore . like ""this txt black "" & "" this txt green "" at the ...

[Solved] Batch: For loop to read only lines starting with character
Summary: Alright, so I need to make a for loop that ALMOST works like this: for /f "EOL=:" %%A in (file.txt) do echo %%A The thing is that I ...

[Solved] Batch Script for Organizing Clips(.mp4) into Shot Folders
Summary: How's it going! I need help creating a batch script that can look at a file name, create a folder based off of a part of the name and then move it to...

delete lines in textfile that comes precedes a word
Summary: I have many text files in a path. I want to write a Batch script for the first time and am struck. The requirement is: I want to delete all the lines ...

[Solved] Batch script fill in empty space
Summary: I have a text file with a list (fixed width), and need to fill in missing text where missing in the first two columns. The list is like this: J100920...

How to make a guessing game with a time limit ?
Summary: I created this a number guessing game with several game settings like limited guesses infinite guesses ... And i planed to make one with limited time ...

[Solved] Analyze arguments - batch file
Summary: I'm working on a batch file that will recieve arguments from the command line. I figured I should put some handlers if invalid or too few/many argumen...

[Solved] Call a game shortcut, run a batch file when the game exits
Summary: Playing a new game in which the developers have restricted the save games to two slots (FC4). There have already been many reported issues with the sa...

[Solved] Split file into multiple files using windows Batch
Summary: I need split one large file, which contains chemical structures of molecules into separated files for each molecule one. Important is, that every subf...

increment the version number and date
Summary: Hi i need to increment the version number in the particular line in file using batch script and the version is looking like this 1.0.0.00:01. The incr...

[Solved] Script to compare and move folder and files
Summary: Hi Go this script to compare 2 folder from different directories and if it matches the folder name it will move all sub-folder and files over. It wor...

[Solved] How to stop a SPACE from importing as part of a variable?
Summary: I have a script that exports the first 3 octets of an IP address to a file (IP.txt). When it exports, it is adding a space at the end of the line, as ...

[Solved] batch script reading lines from a text file
Summary: While reading text file and editing the content , I am facing a problem. If the data in line has brackets , my program is termination at that point. ...

123456

Popular Tags


Ask Question