Search found 4 matches
- 14 Feb 2011 09:52
- Forum: DOS Batch Forum
- Topic: finding similar file names, run monarch
- Replies: 4
- Views: 5195
Re: finding similar file names, run monarch
Thanks for the reply, This code results in 11: echo %Date:~-2% The name of the folders I am trying to access are setup as MMDDYY (they are created daily) and when I do my date echo line below I get MMDDYY echo %date:~4,2%%date:~7,2%%date:~-2% When I do the code below I get DDD MM/DD/YYYY echo %date%...
- 12 Feb 2011 22:20
- Forum: DOS Batch Forum
- Topic: finding similar file names, run monarch
- Replies: 4
- Views: 5195
Re: finding similar file names, run monarch
Thanks, I will try this on Monday and let you know the results. Monarch is a program that takes a text file with a report and allows you to create traps to get the information you want in a table format. I use the date format that way because that was the only way I figured out how to get the date l...
- 11 Feb 2011 10:17
- Forum: DOS Batch Forum
- Topic: finding similar file names, run monarch
- Replies: 4
- Views: 5195
finding similar file names, run monarch
I need help on a For statement that looks for similarly named files in one folder and for each file runs a monarch command line on it. I am new to this so I am using what I learned from the For /?. I am using a wildcard because all these files are similar in name except where the * is. Any guidance ...
- 15 Nov 2010 18:38
- Forum: DOS Batch Forum
- Topic: Finding a monthly file in subfolders
- Replies: 1
- Views: 3408
Finding a monthly file in subfolders
I have a system that spits out reports every month in a folder called Sample. In this sample folder are subfolders with the previous month name. Every month I need a report called Reports.000 in that months subfolder (last month would be 100110). I do not want to change my batch command every month ...