Help for this page

Select Code to Download


  1. or download this
      while ( system("net use $drive /DELETE") ) {
        : (I can provide the details if necessary)
      }
    
  2. or download this
      use Win32::NetResource qw(:DEFAULT GetSharedResources GetError AddCo
    +nnection CancelConnection);
      my $Domain        = 'aaaaaaaa';
    ...
    
        AddConnection(\%NETRESOURCE,$Password,$UserName,$Connection);
    #    CancelConnection($Name,$Connection,$Force);