Finding name of a file in a directory
- From: "Jig Bhakta" <JigBhakta@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Jun 2005 12:38:03 -0700
Hi,
I have a script which goes into a directory and finds out whether a file is
empty or not. The only problem is that I have to currently hardcode the
filename. However, the filename will always have a datetime stamp
(NV060705-143400.txt - only NV will remain the same) on it and will change
everyday. Can someone help me figure out how I can get this filename and
store it in a variable so that I can then checks its filesize?
Thanks,
Jig.
.
- Follow-Ups:
- Re: Finding name of a file in a directory
- From: Roland Hall
- Re: Finding name of a file in a directory
- Prev by Date: Re: LDAP queries against A.D.
- Next by Date: Re: Wanting to search for computers in specific OUs.
- Previous by thread: Restarting a service - help a noob day!
- Next by thread: Re: Finding name of a file in a directory
- Index(es):
Relevant Pages
|