In a post (24 Nov 2015) regarding the error: "The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. Exception Stack Trace: { --- Begin of exception stack trace --- System.Exception: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters." Gintautas answered how the path name is compiled. However, it is not clear to me where the "Directory name (<248 char)) end and where the filename (<260 char) starts: In my case, the first part is: \\172.16.1.83\Temp\Publisher\G5EBPROD\58522\Basic_VI_or_VIG_two_levels_only\20170120_100758 Server \Server file \my ID\Package name \Date stamp \ Up to here is 91 characters, thus well within the specification of <248. This address will bring me to the published file (CHM file). If I look at a published package (CHM), I see the following: First, there is the package name. The CHM's name is again the same as the Package: " Basic_VI_or_VIG_two_levels_only ". Is this part of the file path? Then, I have a VIG with a child VI having one or more child documents, each with a file. Are all these parts part of the "fully qualified file name"? Naming are as follows: (above) The VIG name The VI name (name of an lower VI) Item Name File name Therefore, in my understanding the qualified directory name is: \\172.16.1.83\Temp\Publisher\G5EBPROD\58522\Basic_VI_or_VIG_two_levels_only\20170120_100758 and the qualified file name is: VIG Name\VI Name\Document item name\File name in each case the Name is a concatenation of the number, Middle field, Name (in the file name the revision is also included in my case this is: G0084 SWP (A) \V0352, Section G Risk Analysis\024699, WP11 Scaffolding Erection and Dismantling Risk Analysis\024699 (A) Scaffolding Erection and Dismantling Risk Analysis. VIG Name: G0084 SWP (A) VI Name: V0352, Section G Risk Analysis Doc Item name (full) : 024699, WP11 Scaffolding Erection and Dismantling Risk Analysis File Name: 024699 (A) WP11 Scaffolding Erection and Dismantling Risk Analysis.docx Can you please confirm the split between Directory and file names, and then the full path as described? I need a proper understanding in order to trim the names. Wallo
↧