Hello,
Is there any way to use the dir command or other command to select only first file of similar pattern of files
for example, one directory has 5 files
abc_1005.txt
abc_5256.txt
abc_2001.txt
abc_2003.txt
abc_3006.txt
by use single command i would like to select only first file abc_1005.txt
In unix, the command is
ls /u01/opt/incoming/abc_*.txt | head -1
i just wondering is ther any similar command in windows?
Thanks for your help,
Configuration: Windows XP Internet Explorer 6.0