Contents - Index


CHANGEFILEDIR$

 

The CHANGEFILEDIR$ 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, e.g., C:\EES32\myFile.EES.  The second argument is a different directory, beginning with the drive letter.  The function replaces the directory name of the file name with the alternative directory provided.  It does not save the file nor check to see if the file name is valid.

 

Example:  

 

F$=CHANGEFILEDIR$('C:\EES32\MyFile.EES','D:\Storage\Examples\EESFiles\')  

 

After solving,  F$='D:\Storage\Examples\EESFiles\MyFile.EES'

 

 

See also:  ChangeFileExt$

 

Return to String Functions