File wildcards are always the same, that is not the issue.

Look at the help.
I believe wildcards produce inconsistent results using CHKFILE.


Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected]
From: [email protected] [mailto:[email protected]] On Behalf Of Bruce Chitiea
Sent: Thursday, June 14, 2012 2:14 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: ChkFile in version 9.1

Correct wildcard character?

Bruce
-------- Original Message --------
Subject: [RBASE-L] - ChkFile in version 9.1
From: [email protected]<mailto:[email protected]>
Date: Thu, June 14, 2012 11:59 am
To: [email protected]<mailto:[email protected]> (RBASE-L Mailing List)

Just upgraded a client from 7.6 to 9.1 32-bit (yeah, they waited too long to 
install and now they're already behind...)

Something works in 7.6 but not in 9.1

SET VAR vcfilename = 'R:\DOCS\POTRAN\91002*.PDF'
SET VAR vcount = (CHKFILE(.vcfilename))

Should return a 1 because there is a file 91002.PDF in that directory.   This 
works in 7.6, but returns a 0 in 9.1.   If I change it to:
       SET VAR vcfilename = 'R:\DOCS\POTRAN\91002.PDF'
(no wildcard), then it works in 9.1.   But I need the wildcard.  It appears 
that 9.1 doesn't recognize the wildcard.


Any thoughts?

Karen

Reply via email to