def abbsav(self, lab="", fname="", ext="", **kwargs):
    """Writes the current abbreviation set to a coded file.

    APDL Command: ABBSAV

    Parameters
    ----------
    lab
        Label that specifies the write operation.

        ALL - Write all abbreviations (default).

    fname
        File name and directory path (248 characters maximum,
        including the characters needed for the directory path).
        An unspecified directory path defaults to the working
        directory; in this case, you can use all 248 characters
        for the file name.

        The file name defaults to Jobname.

    ext
        Filename extension (eight-character maximum).  The
        extension defaults to ABBR if Fname is blank.

    Notes
    -----
    Existing abbreviations on this file, if any, will be overwritten.  The
    abbreviation file may be read with the ABBRES command.

    This command is valid in any processor.
    """
    command = f"ABBSAV,{lab},{fname},{ext}"
    return self.run(command, **kwargs)