Contents - Index



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.






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



See also:  ChangeFileExt$


Return to String Functions