cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to use Command (really how to find files in current sourc e dir)


From: BUFFERNE,VINCENT (HP-France,ex1)
Subject: RE: How to use Command (really how to find files in current sourc e dir)
Date: Thu, 23 Jan 2003 16:51:48 +0100

Looks Great!

Thanks,

Vincent

-----Original Message-----
From: Gary Oberbrunner [mailto:address@hidden
Sent: Thursday, January 23, 2003 3:46 PM
To: BUFFERNE,VINCENT (HP-France,ex1)
Cc: 'Timothee Besset'; address@hidden
Subject: Re: How to use Command (really how to find files in current
source dir)


Here's a working example.  In one of my Conscripts I have this:

   ($mydir = SourcePath("Conscript")) =~ s|[\\/]Conscript||;
   @files = glob("$mydir/*.Preset");

This finds all the .Preset files in the current source dir.  Hope that 
helps!

-- Gary





reply via email to

[Prev in Thread] Current Thread [Next in Thread]