IBM Support

Statistics fails to open files with long paths, generating error 61.

Troubleshooting


Problem

When attempting to open a file in Statistics an error 61 is generated: "Error 61 The filename is not valid."

Cause

Windows limits file path lengths to 260 characters.

Resolving The Problem

Windows allows for special paths called "extended length paths" which can be used within Statistics Syntax.

For example instead of:

c:\test.sav

you could specify:

\\?\c:\test.sav

Extended-length paths will not work within Statistics dialog boxes as Statistics will not consider them to be valid paths. An enhancement request has been files to allow extended-length paths to be used within dialogs.

Please see the following Microsoft resource for details regarding path lengths:



http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"Not Applicable","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21586144