View Single Post
  #4  
Old 08-30-2006, 23:23
Perch
 
Posts: n/a
Don't know if it's useful for you, but you could use the API PathRenameExtension , which is in shlwapi.dll, this API replace any extension with any extension you want:

PathRenameExtension ("file.ext", ".bak");

Hope it works for you, just #include <shlwapi.h>

This only works in windows, off course...
Reply With Quote