Re: Changing file types

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello Derek,

>Thanks Lewis,
>I didn't know that. I've re-read the docs on REN and it doesn't really 
>suggest you can do that but it works.

Cool, actually it surprises me a little that it works without
modification. I know that the following senario doesn't always
work.

files in current directory
file01.bmp
file02.bmp
file03.bmp
...
fileXX.bmp

ren file??.bmp pic??.bmp

The reason this doesn't work is becuase "file" and "pic" arent the same 
length. If you want it to work you will have to use the same length names:

ren file??.bmp pict??.bmp

Also this doesn't work if the names are long filenames. Not unless your dos 
version supports lfns.

later,
Lewis Townsend
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu