Long filenames - Windows CMD - SS64.com

Long filenames - Windows CMD - SS64.com



dir "\\?\UNC\Server64\Teams\Personnel\some - very - long - file - name.txt"

...turns off automatic expansion of the path string, the "\\?\" prefix also allows the use of ".." and "." in the path names, which can be useful if you are attempting to perform operations on a file with these otherwise reserved relative path specifiers as part of the fully qualified path. This syntax can be used in both CMD and PowerShell.

Comments

Popular posts from this blog

Powerpoint countdown and current time in slides VBA

Revit area plans adding new types and references (Gross and rentable)