Re: Maximum length of pathname in Windows and workaround (Was: Re: [aroma.affymetrix] Re: error in createCel)

2008-12-29 Thread Henrik Bengtsson
Hi again. For the record, I can confirm that Windows (the Windows API) has a maximum-length limitation on pathnames (path + filename) of 260 symbols including the drive letter, colon and slash, e.g C:/Users/hb/foo/bar.txt has nchar("C:/Users/hb/foo/bar.txt") == 23 symbols. For details, see Secti

[aroma.affymetrix] Re: error in createCel

2008-12-27 Thread Henrik Bengtsson
Hi, I stumbled on a solution/workaround for Windows. With the command 'subst' you can assign a device letter to any pathname. In your case, you can do something like: # Mount drive letter X: to long path rootPath <- "C:/Documents and Settings/Elizabeth/My Documents/Research/ExonArrays/aroma.af

[aroma.affymetrix] Re: error in createCel

2008-12-13 Thread Elizabeth Purdom
Thanks Henrik, that was the problem. My earlier version (that worked) was 25 characters shorter than the one that failed that I emailed about. Is that helpful? Best, Elizabeth Henrik Bengtsson wrote: > Hi, > > this has nothing to do with the new CDF nor the Windows Shortcut > links, but instea

[aroma.affymetrix] Re: error in createCel

2008-12-13 Thread Henrik Bengtsson
Hi, this has nothing to do with the new CDF nor the Windows Shortcut links, but instead a Windows specific limit of the length of the absolute path/pathname you are trying to create. Yours are too long. Your current directory is: rootPath <- "C:/Documents and Settings/Elizabeth/My Documents/Re