How to change the File Extension.  
Author Message
Amjath





PostPosted: Visual C++ General, How to change the File Extension. Top

Hi all,
i want to change the file extension. how can i do this in vc++6.0.

for example.
i'm having example.xml after doing some manipulation on that file and i want to change the file to example.ini

is it possible
how can i do this

Regards and Thanks
-Amjath


Visual C++1  
 
 
Sarath.





PostPosted: Visual C++ General, How to change the File Extension. Top

You can use MoveFile API for the same


 
 
Joe Hegarty UK





PostPosted: Visual C++ General, How to change the File Extension. Top

You could also take a look at FSO. FSO is discussed on http://msdn.microsoft.com/msdnmag/issues/06/09/CAtWork/default.aspx very briefly. Hope that helps.

 
 
Ayman Shoukry - MSFT





PostPosted: Visual C++ General, How to change the File Extension. Top

For VC6.0 issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups

OTP

Thanks,
Ayman Shoukry
VC++ Team