Hello Erich thanks for checking. Here is the exact error message for both cases 
(one at the time, the program breaks at this statement)

For dirs

       *-* Compiled routine "SYSFILETREE".
     7 *-* res = SysFileTree(SourceDir || slash || "*","dir","DO")
REX0040E: Error 40 running /Users/po/Data/test2.REX line 7:  Incorrect call to 
routine.
REX0634E: Error 40.900:  SysFileTree() argument 1 must be less than 255 
characters in length; length is 300.

For files

       *-* Compiled routine "SYSFILETREE".
     8 *-* res = SysFileTree(SourceDir || slash || "*","dir","FO")
REX0040E: Error 40 running /Users/po/Data/test2.REX line 8:  Incorrect call to 
routine.
REX0634E: Error 40.900:  SysFileTree() argument 1 must be less than 255 
characters in length; length is 300.
POs-12Core-Pro:data po$ 

My path was

/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/DiagnosticExtensions.framework/PlugIns/com.apple.DiagnosticExtensions.BackgroundAppRefresh.appex

Hope it helps.

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se




> Am 09.02.2018 um 12:35 schrieb Erich Steinböck <erich.steinbo...@gmail.com>:
> 
> got the error message that the path was to long, and that it can only be 255 
> characters long on Unix
> 
> Hi P.O.
> what's the exact error message?
> what commands are you using to back "up downwards" (shell? Rexx?)
> the maximum path length on Unix typically is not 255, rather much longer
> "say .RexxInfo~maxPathLength" will give you the maximum path length Rexx is 
> aware of
> (though not all Rexx functions necessarily care about it; e. g. Unix 
> SysFileTree will return arbitrary-length file paths, as necessary)
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to