Dir.entries() anomaly

D

donvnielsen

1) This problem is not likely Ruby, 2) You people are very good in a
lot of different areas, 3) I don't know how to phrase the problem to
even Google it...

"Dir.entries('//minitfp01/cclients')" versus "Dir.entries('k:/')"

The first returns an error: "M:\ruby\Projects\CmsStandards\lib\test.rb:
1: No such file or directory - //minitfp01/cclients (Errno::ENOENT)"

The second functions without error. K: is mapped to '\
\minitfp01\cclients'.

Would anyone care to share their thoughts on this and why this is
occurring. (I know, it's Windoze.)

I've tried ending it with a slash, too. That failed as well.

Your time and consideration is appreciated.
dvn
 
D

donvnielsen

One additional tidbit of fact: Both examples operate fine from my
desktop. The originally posted error happens on two Terminal Services
servers. It functions fine on a third Terminal Services server.

Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,137
Messages
2,570,797
Members
47,342
Latest member
eixataze

Latest Threads

Top