Glad it helped
> -Original Message-
> From: Ken Hammer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 05, 2001 5:26 PM
> To: Kipp, James; [EMAIL PROTECTED]
> Subject: Re: Passing Wild Cards to System Commands
>
>
> Thank you James, that did the tri
Thank you James, that did the trick!
"Kipp, James" wrote:
>
> try using the glob() function..
> it does this nicely
>
> > -Original Message-
> > From: Ken Hammer [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 05, 2001 4:54 PM
> > To: [EMAIL PROTECTED]
> > Subject: Passing W
On Wed, Sep 05, 2001 at 04:53:35PM -0400, Ken Hammer wrote:
> $file = `ls file.*.$variable.txt`
>
> file.*.123456.txt: No such file or directory.
What did you expect to get? That error is a result of the literal string
"file.*.123456.txt" being passed to ls. If you're using a shell, as you are
try using the glob() function..
it does this nicely
> -Original Message-
> From: Ken Hammer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 05, 2001 4:54 PM
> To: [EMAIL PROTECTED]
> Subject: Passing Wild Cards to System Commands
>
>
> Hi All,
>
> I'm trying to pass wildcards