RE: Reading from Network Drive
- Posted by Brian Broker <bkb at cnw.com> Aug 19, 2004
- 491 views
Rolf Schr=F6der wrote: >=20 > Brian Broker wrote: > >=20 > > OtterDad wrote: > > >=20 > > > could be an XP thing - i use NT and i do network dirs() literally=20 > > > hundreds of times each day - make sure you quadruple backslash the= =20 > > > system name, i.e. \\<name-goes-here> needs to read=20 > > > a=dir("\\\\<name-goes-here>\\") > > >=20 > > > Yours, OtterDad > > >=20 > >=20 > > Must be an XP thing then because I get -1 whether I do=20 > > dir("\\\\server\\share") or dir("\\\\server\\share\\") > >=20 > > but "dir \\server\share" at cmd prompt works just fine... > >=20 >=20 > It's not an XP thing! By the way: does it run under EXW (and > not under EX)? > All my progs are binded with 'bindw' and are running under XP. >=20 > Have a nice day, Rolf >=20 > -- Interesting... here's my test program:
include file.e ? dir( "\\\\server\\share\\" )
I tested it with exwc.exe and ex.exe and both returned -1. And it's not= =20 a permissions thing because I'm Admin on the server in question and OS=20 'dir' works fine... So what am I doing wrong? -- Brian