Show/Hide Toolbars

Take Command / TCC Help v. 21

Navigation: TCC > Command Line

Extended Parent Directory Names

Scroll Prev Top Next More

TCC has an extended syntax for referencing parent directories, by adding additional . characters. Each additional . represents an additional directory level above the current directory. For example, .\FILE.DAT refers to a file in the current directory, ..\FILE.DAT refers to a file one level up, i.e., in the parent directory, and ...\FILE.DAT refers to a file two levels up, i.e., in the parent of the parent directory. If your default directory is C:\DATA\FINANCE\JANUARY, you can copy the file LETTERS.DAT from directory C:\DATA to drive A: with the command




Note: This extended notation may not be understood by external programs. Consider using the @FULL function to expand file and directory references when necessary:


[C:\DATA\FINANCE\JANUARY] myprog %@full[...\LETTERS.DAT]+±