D
David Sanabria
Greetings!
I have just discovered the Win32::Lanman package and hope to use it to
solve a problem I am sure has already been solved...
I have an Excel file that is used as a data source across a network.
This file is commonly opened for reading from other Spreadsheets but I
need to disconnect any users before I can update the source.
If anyone has a script that demonstrates how this can be done, I would
greatly appreciate it.
What I need is to be able to use the NetFileEnum() function to get the
open files in directory c:\foo where my data.xls file lives. From there,
I would use the NetFileClose() function to close the file just before
copying a new one over it.
Any help or suggestions would be greatly appreciated!
Regards,
Dave
PS. I will post my own script once I'm done hacking on it.
I have just discovered the Win32::Lanman package and hope to use it to
solve a problem I am sure has already been solved...
I have an Excel file that is used as a data source across a network.
This file is commonly opened for reading from other Spreadsheets but I
need to disconnect any users before I can update the source.
If anyone has a script that demonstrates how this can be done, I would
greatly appreciate it.
What I need is to be able to use the NetFileEnum() function to get the
open files in directory c:\foo where my data.xls file lives. From there,
I would use the NetFileClose() function to close the file just before
copying a new one over it.
Any help or suggestions would be greatly appreciated!
Regards,
Dave
PS. I will post my own script once I'm done hacking on it.