Search found 345 matches

by Samir
19 Jul 2017 06:05
Forum: DOS Batch Forum
Topic: Find All Filenames NOT Containing a String
Replies: 16
Views: 2920

Find All Filenames NOT Containing a String

My brain is failing me this morning. I have a set of filenames like this: BAT000001480.RPT BAT000001481.RPT BAT000001482.RPT BAT000001483.RPT BAT000001484.RPT BAT000001485.RPT Inside most of these files is the following string along with other strings: No Data To Report I want to find all the filena...
by Samir
04 Jun 2017 08:19
Forum: DOS Batch Forum
Topic: Using Findstr to Find Unique Data Between 2 Files
Replies: 2
Views: 944

Re: Using Findstr to Find Unique Data Between 2 Files

Thank you for the link! Some great reading on the same subject. 8)
by Samir
25 May 2017 16:19
Forum: DOS Batch Forum
Topic: Using Findstr to Find Unique Data Between 2 Files
Replies: 2
Views: 944

Using Findstr to Find Unique Data Between 2 Files

I tried to search for a thread that deals with this before, but the search didn't give me any results. I'm sure there's a better way to do this, and hence why I'm posting. If you had two files and wanted to know what the unique data was between them, FC was an easy way achieve this, but the data had...
by Samir
14 Apr 2017 16:31
Forum: DOS Batch Forum
Topic: What is Your Greatest Batch?
Replies: 9
Views: 2071

Re: What is Your Greatest Batch?

ShadowThief wrote:...it ran daily and based on the day, saved anywhere from 2 to 4 hours.
That's some pretty cool time savings (and probably money) for a batch file. 8)
by Samir
13 Apr 2017 14:39
Forum: DOS Batch Forum
Topic: Help with making a backup batch file
Replies: 2
Views: 1742

Re: Help with making a backup batch file

So basically you need to research those commands that allow user input. I believe set /p is one of them.

Work on your batch and post it here and we'll help debug it.
by Samir
13 Apr 2017 14:38
Forum: DOS Batch Forum
Topic: What is Your Greatest Batch?
Replies: 9
Views: 2071

Re: What is Your Greatest Batch?

Me first. :mrgreen: Probably my greatest batch takes 30 minutes of manual work and finishes it in under 10 seconds.
by Samir
13 Apr 2017 14:38
Forum: DOS Batch Forum
Topic: What is Your Greatest Batch?
Replies: 9
Views: 2071

What is Your Greatest Batch?

All of us here have a batch file doing some job saving lots of time, effort, energy. Many of us have been able to make our batch or make it better because of this forum. So what's your greatest batch file doing? What does it save in terms of time, money, effort etc? You don't have to post the batch ...
by Samir
13 Apr 2017 14:25
Forum: DOS Batch Forum
Topic: Find multiple strings
Replies: 2
Views: 1319

Re: Find multiple strings

As far as the command line video/audio program, I believe ffmpeg has options for this.
by Samir
13 Apr 2017 14:23
Forum: DOS Batch Forum
Topic: Drag and drop files into batch file
Replies: 2
Views: 5157

Re: Drag and drop files into batch file

Neat! I didn't think this was possible. 8)
by Samir
13 Apr 2017 14:22
Forum: DOS Batch Forum
Topic: Assigning a variable based on text search of a file
Replies: 6
Views: 1545

Re: Assigning a variable based on text search of a file

What is the output of your current batch file? It looks like it should work to me. :?:
by Samir
10 Apr 2017 12:27
Forum: DOS Batch Forum
Topic: Conditional Actions Using Data From Text File
Replies: 20
Views: 4553

Re: Conditional Actions Using Data From Text File

Using

Code: Select all

set /p ln=<%%i
did fix it.
by Samir
10 Apr 2017 12:25
Forum: DOS Batch Forum
Topic: Xcopy switch help
Replies: 4
Views: 1660

Re: Xcopy switch help

xcopy c:\users\user\test e:\test /s /d /e /y /v Is there a switch to truly copy only source files that have changed, or a switch that I should remove? Try changing /d to /m The first time xcopy copies all files, while the next times, it only copies new or changed files But the problem with this is ...
by Samir
09 Apr 2017 14:22
Forum: DOS Batch Forum
Topic: Speecher | A Pro Text-to-Speech Engine in Batch | By PaperTronics
Replies: 15
Views: 3933

Re: Speecher | A Pro Text-to-Speech Engine in Batch | By PaperTronics

So how exactly does this work? Batch file never had direct access to anything that could produce sound other than the speaker (BEEP command).
by Samir
09 Apr 2017 13:35
Forum: DOS Batch Forum
Topic: Conditional Actions Using Data From Text File
Replies: 20
Views: 4553

Re: Conditional Actions Using Data From Text File

So fast forward a few years and format and number of files has changed. Instead of 4, there are now 16. But there has been a change in the format that may make the code simpler. Here's the new format of the files. FILE TYPE 1 Credit Batch 029 Summary MISC ADDR Seq# Account Number Amount Status - MOR...
by Samir
09 Apr 2017 11:58
Forum: DOS Batch Forum
Topic: List of First Post Topic Titles (only)?
Replies: 7
Views: 2023

Re: List of First Post Topic Titles (only)?

What I usually do when I need to find something like this is select the advanced search and return only the topic title. Then, I'll open each topic title of interest in another thread. Definitely cuts down on the scrolling. And then when I've figured out the perfect set of keywords for my particular...