Quote:


2) dsquery ->pipe to text file, open, readline etc. (slow, due to the piping of the file & opening it, but maybe the easiest to implement) (i need the path for other things so I canīt pipe it directly to DSMOVE for instance.)





Specifically your comment "slow, due to the piping of the file & opening it," ... I would not dismiss this option on those grounds ... imagine that the piping and reading back in would be very fast. Think the "slow" bit might be in running the dsquery itself. But since I haven't tested it, can't say. dsquery might be very quick.

-Shawn