G
Gene E. Bloch
Probably because the short name of foo.html is FOO~1.HTM
Powershell's Remove-Item (alias DEL) is another alternative.
I just looked at the 8.3 names. You're right, but IMO Microsoft isn't
Probably because the short name of foo.html is FOO~1.HTM
Powershell's Remove-Item (alias DEL) is another alternative.
I just looked at the 8.3 names. You're right, but IMO Microsoft isn't
![]()
Backward compatibility rears it ugly head again.. the beast cannot die.![]()
Gene said:It was definitely new to me as well, and it sucks
My experimentation revealed not only that cmd acts the way Wirchenko
said, but even putting the action into a loop to act on individual files
doesn't help.
I went a bit further and discovered the underlying problem is that dir
treats .htm and html as the same.
One wonders if it would treat "*.htm " and "*.htm" the same...i,e,
defining a space as part of the search criteria??
*.html would certainly be found under the second search, but, I'm
thinking, not under the first search!!
Daniel
Gene said:You could have tried it yourself.
You would have learned that the space is ignored.