Take Command / TCC Help v. 13.03

Extended Parent Directory Names

Hide Navigation Pane

Extended Parent Directory Names

Previous topic Next topic No directory for this topic No expanding text in this topic  

Extended Parent Directory Names

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

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

 

[C:\DATA\FINANCE\JANUARY] copy ...\LETTERS.DAT A:

 

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]

Comments (...)