Search found 4 matches

by dukeagles21
04 May 2012 14:23
Forum: DOS Batch Forum
Topic: Using Wildcards With Directories or Workaround
Replies: 6
Views: 6196

Re: Using Wildcards With Directories or Workaround

Alright, I understand the breakdown of the code. As for having the actual time in it, it's not my call. I'm low on the totem pole. Thanks for all of your help Aacini. I was completely blanking out on the folder name issue. I thought when the variable was called it would reset itself to the new time,...
by dukeagles21
03 May 2012 14:22
Forum: DOS Batch Forum
Topic: Using Wildcards With Directories or Workaround
Replies: 6
Views: 6196

Re: Using Wildcards With Directories or Workaround

Format(Can't put exact file name due to privacy reasons) would be as such: CompanyName_Region_Type_%datenow%_Extratext.txt Looking at the code, I'm still unsure of how the for loop works. Is delims a set variable in windows? I take it that it's looking for "_" in the folder name. But how d...
by dukeagles21
03 May 2012 12:47
Forum: DOS Batch Forum
Topic: Using Wildcards With Directories or Workaround
Replies: 6
Views: 6196

Re: Using Wildcards With Directories or Workaround

Thanks for the response Aacini. The files are all .txt and it changes as to what is in front of them. It's virtually creating a batch archive so *.txt would work. If you're getting specific, dates are involved and the files are date stamped with out the time. After copying them to the folder, I'm mo...
by dukeagles21
03 May 2012 12:15
Forum: DOS Batch Forum
Topic: Using Wildcards With Directories or Workaround
Replies: 6
Views: 6196

Using Wildcards With Directories or Workaround

Hey Everyone, Bit new to the batch forum game, so I have a situation at hand that I can't find a solution to. I found how to create a folder via batch with a timestamp (foldername ie: 20120503_140000). I then would like to copy files into that same folder. I've scoured the internet for ways to do vi...