Contents - Index


CHANGEFILEEXT$

 

The CHANGEFILEEXT$ function accepts two arguments, both of which must be either a string constant or a string variable.  The first argument should represent a Windows-type file name with a filename extension appearing after the period, e.g., myFile.EES.  The second argument is a different extension, beginning with the period.  The function replaces the extension of the file name with the alternative extension provided.  It does not save the file nor check to see if the file name is valid.

 

Example:  

 

F$=changefileext$('MyFile.EES','.EES64')  

 

After solving,  F$='myFile.EES64'

 

See also:  ChangeFileDir$

 

Return to String Functions