WAD PDir not working correctly...

#1
Sorry but this basically a repeat of an earlier posting with some additional information. The following "PDir" command:
Code:
pdir *.m* /S /A-D /(@Ext[*] fn) | Sort | List
produces the following output (excerpted):
Code:
...
bad Diamonds and Rust.mp3.bad
bad Dream On.mp3.bad
bad Everybody's On The Run.mp3.bad
bad Four Letter Word.mp3.bad
bad Georgy Girl.mp3.bad
bad Hallelujah.mp3.bad
bad Hallelujah.mp3.bad
bad I Won't Let Go.mp3.bad
bad She's Not There.mp3.bad
bad She's Not There.mp3.bad
bad She's Not There.mp3.bad
bad Touchec.mp3.Given a .bad extension so it is excluded from music lists.bad
bad Watching You Watch Him.mp3.bad
bad Wonderwall.mp3.bad
m4a 01 - Bad Day (Acoustic Version).m4a
m4a 01 - Bad Day (Acoustic Version).m4a
m4a 01 - Highway Blues.m4a
m4a 01 - Highway Blues.m4a
m4a 01 - Like Humans Do (radio edit).m4a
m4a 01 - Like Humans Do (radio edit).m4a
m4a 01 - Symphony No. 9 (Scherzo) I.m4a
m4a 01 - Symphony No. 9 (Scherzo) I.m4a
m4a 01 - Symphony No. 9 (Scherzo) II.m4a
m4a 01 - Symphony No. 9 (Scherzo) II.m4a
...
Searching for "*.m??" gives the expected results.
 
#2
All those files match *.m*.

Sorry but this basically a repeat of an earlier posting with some additional information. The following "PDir" command:
Code:
pdir *.m* /S /A-D /(@Ext[*] fn) | Sort | List
produces the following output (excerpted):
Code:
...
bad Diamonds and Rust.mp3.bad
bad Dream On.mp3.bad
bad Everybody's On The Run.mp3.bad
bad Four Letter Word.mp3.bad
bad Georgy Girl.mp3.bad
bad Hallelujah.mp3.bad
bad Hallelujah.mp3.bad
bad I Won't Let Go.mp3.bad
bad She's Not There.mp3.bad
bad She's Not There.mp3.bad
bad She's Not There.mp3.bad
bad Touchec.mp3.Given a .bad extension so it is excluded from music lists.bad
bad Watching You Watch Him.mp3.bad
bad Wonderwall.mp3.bad
m4a 01 - Bad Day (Acoustic Version).m4a
m4a 01 - Bad Day (Acoustic Version).m4a
m4a 01 - Highway Blues.m4a
m4a 01 - Highway Blues.m4a
m4a 01 - Like Humans Do (radio edit).m4a
m4a 01 - Like Humans Do (radio edit).m4a
m4a 01 - Symphony No. 9 (Scherzo) I.m4a
m4a 01 - Symphony No. 9 (Scherzo) I.m4a
m4a 01 - Symphony No. 9 (Scherzo) II.m4a
m4a 01 - Symphony No. 9 (Scherzo) II.m4a
...
Searching for "*.m??" gives the expected results.
 
Jun 2, 2008
295
1
#3
Sorry but this basically a repeat of an earlier posting
I don't see that thread anymore... I saw 2, maybe 3 responses to it. Did you see them?

*.m* means anything of any length before the .m and anything of any length after it, no matter where .m appears in the filename.

*.m?? means a name that ends with .m and up to 2 more characters.