A
andy
I have a remote server and I have mapped one drive from that remote
server into my local machine to access a perticular directory in that.
But I have to restart my local machine again and again. So again i
have to reconnect to the mapped drive by giving the userid and
password.
As I have to copy a file from that mapped drive and run that file on
the local machine after restarting the local machine.
The above process i have to do for each new file added into that
mapped drive.
So the steps are:
1: detect the file added to the mapped drive.
2: copy to the local machine.
3: restart the local machine.
4: Run that copied file.
5: do the same process continuously so that each time a new file is
added to the mapped drive it will detect, copy the same file and
restart the machine.
How can this be done using perl.
server into my local machine to access a perticular directory in that.
But I have to restart my local machine again and again. So again i
have to reconnect to the mapped drive by giving the userid and
password.
As I have to copy a file from that mapped drive and run that file on
the local machine after restarting the local machine.
The above process i have to do for each new file added into that
mapped drive.
So the steps are:
1: detect the file added to the mapped drive.
2: copy to the local machine.
3: restart the local machine.
4: Run that copied file.
5: do the same process continuously so that each time a new file is
added to the mapped drive it will detect, copy the same file and
restart the machine.
How can this be done using perl.