|Just another Perl shrine|
Re: DBMS and network driveby tokpela (Chaplain)
|on Aug 01, 2009 at 13:19 UTC||Need Help??|
This is pretty easy really - you just open the file using the UNC.
Basically, opening a file on a network drive can be accomplished by using the UNC filepath:
If you need to connect to the network drive you have two options.
One option is to create a mapped drive.
You could do this directly through Windows using the NET USE command:
or a permanent map
You could also accomplish this same thing using Win32::FileOp by using the Map routine:
Finally, the second option is to connect to the network drive directly in the program which can be accomplished by using the Win32::FileOp Connect routine: