In my directory I have the files files
- x.dll
- x.lib
- x.pdb
- x.exp
- x.plugin
When I issue the command dir \*.*~
it should say 'File not found' as it does at my friend's laptop. But on my machine it lists the file x.plugin
.
Actually after a while of trying I found out that it lists all files with extension longer than 3 characters.
Anybody heard about this behavior before?
~
) at the end doesn't seem supported, so the result may be undefined, as you're getting. Adding it at the beginning of the query should tell Win 7 to use DOS style syntax for wildcards (but the tilde itself will be ignored).