xcopy Option?

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
:)
 
B

Bill Blanton

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. ;)
 
G

Gene E. Bloch

Backward compatibility rears it ugly head again.. the beast cannot die. ;)
I'm not so sure...backwards /incompatibility/ strikes me as a better
name :)
 
D

Daniel47

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
 
G

Gene E. Bloch

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
You could have tried it yourself.

You would have learned that the space is ignored.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top