I was under the impression that if you log out of a machine, the mapped
drives are lost until you log back in again so if you are running CFMX
on a Windows box, the only way to access files on remote systems is via
the UNC naming conventions....


Paul

-----Original Message-----
From: Andrew Tyrone [mailto:[EMAIL PROTECTED]
Sent: Saturday, 01 November 2003 18:40
To: CF-Talk
Subject: Mapped network drive unavailable to CFMX

Greetings everyone,

I've been reading loads of posts and discussions about problems with
network
shares, cfexecute and the like, trying to figure out if what I am trying
to
do is even possible.  Let me start by saying that CFMX is running as a
user,
it has administrative access to the folders I specified, and it can read
and
write to those folders (via UNC paths).  The problem I am having is that
of
a mapped network drive being unavailable.  Note that this process is for
accessing my workstation I: drive from my server.  I CAN access the
share
with the UNC name, but I'd like a solution that uses the mapped drive
letter.  I'd like to know if it's possible or not.  Either answer will
contribute to the lowering of my blood pressure, so I'd appreciate it.

<!-- cfexecute.cfm -->
<cfexecute name = "f:\test.bat"
outputfile="f:\docoutput.txt"
timeout = "10">
</cfexecute>

<!-- test.bat -->
net use
exit

<!-- docoutput.txt -->
Status       Local     Remote                    Network

Unavailable  Z:        \\Andywork\I  - WEBS      Microsoft Windows
Network
The command completed successfully.

If I log on to the server with the cfmx account that the service uses,
testing at the command prompt yields the following:

C:\Documents and Settings\cfmxserver>net use
New connections will be remembered.

Status       Local     Remote                    Network

OK           Z:        \\Andywork\I  - WEBS      Microsoft Windows
Network
The command completed successfully.

Thanks,
Andy

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to