Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Current Source Filename Macros
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   @FileCur
 
            @FileName
 
  See also: ECHO
 
  Description:
 
     @FileCur is a text macro returning the name of the current source
     or include file, including any necessary relative or absolute path.
     The @FileName text macro returns the base name of the current
     assembly file; if in an include file, it returns the name of the
     calling source file. This macro is useful for any situation in which
     you want a name to change whenever the name of the file or include
     file changes.
                                    -♦-