[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Reading Multiple Files and Renaming Input File



same thing keeps happening to me...
i decided to forego doing the directory listing from within the SQR,
and created a batch file to do it, which should be run
just prior to running the SQR.

[DIRLIST.BAT]

  @echo off
  dir /-p/on/b %1\*.%2 > %3

syntax:
dirlist <directory> <extension> <output-file>

(kris)janis p. gale
hrsd - federal reserve bank of new york
x8163

>>> Aaron Chang <Aaron.Chang@anu.edu.au> Sunday, July 25, 1999 9:27:34 PM >>>

Unfortunately I'm having problems creating the actual .dir file from within
the SQR. It doesn't seem to recognise the command and brings back a status
of '2'.