.. highlightlang:: us .. index:: EdSetPathName .. _edsetpathname: EdSetPathName ============= .. us.tag EdSetPathName ENGLISH EdSet :ref:`EdSetPathName` sets the file name. .. function:: bool = EdSetPathName(hEdit, ssFileName) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hEdit Identifies the editor. .. uparam:: ssFileName *ssFileName* is the file name. If the string is empty, a default name is given to the document. .. us.example **Example** :: EdSetPathName(hEdit, "c:/doc.ic") EdSetPathName(hEdit, "") // Set Default Name .. seealso:: :ref:`overview-editors`, :ref:`EdCreate` :sub:`id-69226`