Error 1320 The specified path is too long occurs when performing installation for Storage Foundation for Windows
Problem
The installation of Storage Foundation may fail at 58% with the "Error 1320.The specified path is too long "
Error Message
Error 1320.The specified path is too long C:\ProgramData\Application Data\VERITAS.
Cause
This issue may be caused do to corruption of the symbolic links in the windows NTFS file system specified directories
Solution
To display hidden files and folders.
From Windows Explorer, using the "Folder Options" settings, enable "Show hidden files and folders"
Then, browse to "C:\ProgramData\Application Data"
Delete the "c:\ProgramData\Application Data" link. Put it in the Recycle Bin in order to be able to restore it if something goes wrong.
Open a command window and change directory to "c:\ProgramData".
Enter the following command: mklink /J "Application Data" "c:\ProgramData"
Close the command window and install Storage Foundation