You could try the direxist verb from the general/dirutils addon. -----Original Message----- From: Alex Rufon <[email protected]> Sent: Wednesday, 28 April 2010 20:20 To: [email protected] <[email protected]> Subject: [Jprogramming] Checking for directory existence in Windows
Hi, I made an EDI to XML converter with Mac. But running the same code in Windows stumbles into a problem. Technically, the following code returns different values in both windows and mac: IN WINDOWS: load 'files' fexist 'c:\Windows\' 0 IN MAC: load 'files' fexist '/Users/bathala/Documents/' 1 In both cases above, the directory exists but the results are different. Do we have an existing code that checks for existence of directories and works in both Windows and OSX? Thanks. r/Alex ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
