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]

