If this is not the length of the file name, this is the contents of the file name ...
Python treats "\ 12" as an escape sequence.
>>> fn='C:\Documents and Settings\Administrator\op_models\Corp_Network_Nov12\abcde_corporate_nov_12.project\abcde_corporate_nov_12-ctr.rptd.dir\ctr\Non Business Hours for Weeknights\hourly_data_for_2_weeks\1294897740\json.data\Link\0\Link Utilization\analyzer393146160-data0.js' >>> print fn C:\Documents and Settings\Administrator\op_models\Corp_Network_Nov12bcde_corporate_nov_12.projectbcde_corporate_nov_12-ctr.rptd.dir\ctr\Non Business Hours for Weeknights\hourly_data_for_2_weeks 94897740\json.data\Link\Link Utilizationnalyzer393146160-data0.js
Using raw strings for Windows file names will help:
>>> fn=r'C:\Documents and Settings\Administrator\op_models\Corp_Network_Nov12\abcde_corporate_nov_12.project\abcde_corporate_nov_12-ctr.rptd.dir\ctr\Non Business Hours for Weeknights\hourly_data_for_2_weeks\1294897740\json.data\Link\0\Link Utilization\analyzer393146160-data0.js' >>> print fn C:\Documents and Settings\Administrator\op_models\Corp_Network_Nov12\abcde_corporate_nov_12.project\abcde_corporate_nov_12-ctr.rptd.dir\ctr\Non Business Hours for Weeknights\hourly_data_for_2_weeks\1294897740\json.data\Link\0\Link Utilization\analyzer393146160-data0.js
Update
As an alternative, use the slashes' / 'instead of backslashes \' as they will work on all operating systems and will save your backslash problems right at the end of the path, as in your comments.
See also os.path.join() .
Update 2
Simplified demonstration of the problem:
>>> open('.\12\n\r\file.txt') Traceback (most recent call last): File "<stdin>", line 1, in <module> IOError: [Errno 2] No such file or directory: '.\n\n\r\x0cile.txt' >>> open('./12/n/r/file.txt') <open file './12/n/r/file.txt', mode 'r' at 0x7ff83f98> C:\Users\johnysweb>copy .\12\n\r\file.txt con Blah 1 file(s) copied.
Johnsyweb
source share