http://www.perlmonks.org?node_id=932385


in reply to Re^4: Accessing Shared network drive folder
in thread Accessing Shared network drive folder

I tried Map and Connect both but nothing is working.

Your code shows neither Map nor Connect

  • Comment on Re^5: Accessing Shared network drive folder

Replies are listed 'Best First'.
Re^6: Accessing Shared network drive folder
by vishalkbhatt (Initiate) on Oct 19, 2011 at 12:53 UTC
    Yes that was my question only bcoz I was not able to get the syntax correct for Map or connect. I tried the following Map => '\\\\192.168.0.2\snapshot',{persistent=>1,user=>'uid',passwd=>'pwd',overwrite=>1}; Above syntax gave many error: ------------------ Useless use of a constant in void context at map.pl line 11. Useless use of a constant in void context at map.pl line 11. Useless use of anonymous hash ({}) in void context at map.pl line 11. --------------------------------------------- And for Connect ther was no syntax given to include uid and password... Pls tell me how to include Map in my code posted in my previous comment..