changing filename extension

Hi All,
i need to change the filename extension. For simplicity, we can assume that the extension after '.' is 3 characters only... but the filenames can vary.

eg. changing from abc.doc to abc.dxs

can i have a oneline command to achieve this

Give it a shot below:
mv *.doc *.dxs

Funny...
I dont want to move from .doc to .dxs.
Actually .dxs will be the compiled version of .doc... so i am writing a script which will compile all .docs (for eg) and move all the created .dxs's (i.e, created after compilation) to another folder.

So you could pointed to the format of file.