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 source dir)


From: Gary Oberbrunner
Subject: Re: How to use Command (really how to find files in current source dir)
Date: Thu, 23 Jan 2003 09:46:03 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130

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]