Summary: In a dos batch I am searching one txt file line by line. How can I find line that starts with some string? So I need something like: if line starts wi...
Summary: Hello, I have about 100 text files. They are full of extra stuff that needs to be cleaned up. The stuff is one or more blank lines, trailing spaces, c...
Summary: Hi, I need help to write FINDSTR search string in batch program using regex. I want to ignore all those lines that start with '(single quote) even if ...
Summary: Unfortunately I must be doing something wrong :( but neither one of these batches is working for my recipes today... Here are the steps that I took. ...
Summary: How would i write a batch file that would open certain text files and remove lines inside these files e.g. lines that start with "2003" up to lines th...
Summary: Could you please help me with one more thing... I have a txt file with the following content: ================= Starting EC2 instance i-8xxx3e8... Sta...
Summary: I am searching test_promweb.log. Test_promweb.log: sun 28.06.2009 C:\VMtriggers\Preb_script>del C:\prebacweb\test\BLST_DNEV_RAZ_ARH.fmx mon 29.06.2009...
Summary: Thanks so much that worked great but now i have another question. In the ini i have two groups of info 2 60 c:\... /min 45 c:\documents and settings...
Summary: I have a script that I want to search through a file and add one line. It does this, but it also deletes all the lines that start with a ; (semicolon...
Summary: I want to clarify a couple of things 1.You say you say it is a "unique" entry, will it be the only line that starts with "status:"? 2.You say "at the ...
Summary: Thanks Judago! That worked perfectly with a little modification of my existing code. For anyone who's interested here's my final script and an explana...
Summary: M2, You script is fine unless the file contains exclamation marks! Delayed expansion causes the problem and the only way I have found to get around th...
Summary: thanks for the vbs script. How could you have the mismatch ones echoed to a window instead of separate popups? Having separate popups is a bit of a pa...
Summary: I was in a hurry before and I had some bugs in my script(setting icon and workingDirectory didn't work) they're fixed now. What my script does is writ...
Summary: I am asking because when I try to run, it says that subscript is out of range and highlights the line that starts with, "If Worksheets..." Would the...
Summary: Hi, I want to write a C code, which should read a input text file and after doing some operation needs to write out a text file. Need to read lines t...
Summary: Hi, SysInternal (http://www.sysinternals.com)'s PSList utility is able to show processes and application information using the command PSLIST \\COMPUT...
Summary: Hi all, In short, I have an XML file that needs to have some information deleted from it when a batch file runs. The file's data changes constently, s...
Summary: I'm working on a batch file that creates a directory and then automatically sets folder permissions based on the group membership of the person execut...
Summary: Hello, Thank you to everyone who posts in this forum you are all a great help. I have a problem that I would like to solve using a batch file. I woul...
Summary: Dear, I have some problem about batch programming, I have to write batch that find line "Server (PID = 1856) Ready" or "Server Mode 2 (PID = 2453) Re...
Summary: It is possible to set the string inside a variable to another value eg set %var%=whatever. You, however, can not use variables that start with numbers...
Summary: Hi! I have an XML-file where the string <?xml version="1.0"?> occurs several times. I would like to delete all lines equal to this string and keep ...
Summary: I am trying to write a batch file that will delete all folders that start with MP in a specifed folder, this has to work in win9x and NT based opperat...