> I've been asked to find a server across a network
> by the name of the server (not drive number) and
> then map it to a local drive (not even sure what
> all that means). This is to save a simple comma
> delineated list in a text file that needs to be
> saved into a specific folder on a named server
> and this needs to work in many different networks
> where the server might be a different drive letter.
The only experience I've had of mapping a server/shared folder to a local
drive is as a function of Windows Explorer. I don't know the command-line
parameters you'd pass to explorer to have it map a shared folder on the
network to a locl hard-drive, but I'm (reasonably) sure there would be a
series of command-line switches. You could use Buddy to run explorer and
pass it the command-line stuff you need (when you figure out what those
are!).
The path would contain something like
\\yourServerName\yourSharedFolderName\, but again, I'm unsure of how to pass
this to Explorer at the command-line to have it map this path to a local HD
Try as a test:
aResult = baRunProgram( "Explorer.exe /n,/e,.", "maximised", false )
You could run this hidden and you'd know which HD letter you'd mapped the
folder to, so putting a text file there would then be (fairly) trivial, as
long as necessary permissions are set on the share.
HTH,
-Sean.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]