Search found 3 matches

by Kev_NZ
23 Feb 2009 16:01
Forum: DOS Batch Forum
Topic: Retrieving filenames and inputting into another bat file?
Replies: 3
Views: 6438

I just thought I would provide an update on this. This code worked perfectly for me when I split it up into TWO batch files. To be precise: BAT FILE 1 SETLOCAL ENABLEEXTENSIONS SETLOCAL ENABLEDELAYEDEXPANSION For /F "Delims=" %%F in ('Dir /B \MT32\Data\Database*.IB') Do ( Set "f=%%~nF...
by Kev_NZ
22 Feb 2009 21:38
Forum: DOS Batch Forum
Topic: Retrieving filenames and inputting into another bat file?
Replies: 3
Views: 6438

Rick, You are a legend!!! The script works, though it does create a mystery file named ".log" which kinda screws up the flow of the script! But none-the-less, the code you gave me works, and you have given me a very strong starting point. Thank you very, very, very much. Have a good one
by Kev_NZ
19 Feb 2009 21:18
Forum: DOS Batch Forum
Topic: Retrieving filenames and inputting into another bat file?
Replies: 3
Views: 6438

Retrieving filenames and inputting into another bat file?

Hey guys, I'm new to batch files and I'm really stuck! I've been put in charge of automating the backing up and restoring of some interbase databases at work. It's hard! Here's my situation: There are a few databases in this directory: C:\MT32\data\ Eg, C:\MT32\data\database1.IB, database2.IB, datab...