I am using the "move" command with a wildcard pattern in the CMD prompt under Windows 7.
In my source directory, I have the following files:
movie1.avi movie1.avi_metadata movie2.avi movie2.avi_metadata
If I type the command
move source\*.avi dest it will move all four files even though I would expect it to only move the two
*.avi files and not the
move source\*.a dest and
move source\*.av dest don't move any files. However when the length of the extension for the wildcard pattern is 3 characters, it will move all extensions that begin with those first three characters.
Is this a bug in the "move" command or expected behavior and is it documented anywhere?
Edit: John Watts notes that this is probably do to "short" filenames.
Is it possible then to make commands in the CMD interpreter only operate on long filenames and to ignore short filenames?