Sunday, October 5, 2014

DOS command to rename with part of the original file name

I have many files named like this:
YYY.XXXXXX


and i need to write a DOS batch command to rename like this:
YYYXXXXXX.ZZZ


YYY and ZZZ are fixed string, only XXXXXX is variable.


tried this with no success:
rename YYY.?????? YYY??????.ZZZ

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...