> From: Dan Bron > Here's my version, from > http://www.jsoftware.com/svn/DanBron/trunk/config/startup.yes.ijs : > > ... > NB. DLL call to check if a path exists. > NB.!! Won't work on Win95 or NT4 with IE3 or earlier. > NB. I don't use 1!:0 because 1!:0 '\\host\share\' fails, > NB. even though 1!:0 '\\host\share\sub\' works > existing =. >@:{.@:('shlwapi.dll PathFileExistsA i *c'&(15!:0))"0 > ...
Interesting. I run into this before, but can confirm the behaviour. 1!:0 \\host\share NB. no directory listing 1!:0 \\host\share\ NB. no directory listing 1!:0 \\host\share\* NB. provides a directory listing for share 1!:0 \\host\share\subdir NB. lists subdir Cmd$> dir \\host\share NB. provides a directory listing for share I'm considering ways of altering direxist in the dirutils addon to workaround this for now. Perhaps this something that might get addressed in the next version of J? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
