Re: EU dir command
- Posted by euphoric (admin) Aug 17, 2012
- 2159 views
dir() works for me on Windows 7 with Euphoria 4.0.4 when using a shared directory:
include std/filesys.e object x x = dir( "\\\\SEMP1\\SharedDocs\\" ) -- or x = dir( "\\\\SEMP1\\SharedDocs\\*.*" ) ?x
Printed result is a lot of file information.
If I attempt dir("\\\\SEMP1\\"), I get -1.
I think I would use the "*.*" path spec, as I believe the "\\\\SEMP1\\SharedDocs\\" path at first gave me a -1. After I used *.*, both paths then worked, IIRC... ICBC.
Confirmed that *.* isn't necessary for me.