in reply to Re^5: server login
in thread server login
foreach $server ( @servers ) { if( $found == 0 ) { if( -e "\\\\$server\\C\$\\" ) { print "\n\nServer is already linked\n\n"; find( \&finddata, "\\\\$server\\c\$\\VoiceGenie\\mp\\logs\ +\" )or warn "Could not enter the specified path \\\\$server\\ +c\$\\VoiceGenie\\mp\\logs\\.\n"; #Function that allows the use of Fil +e::Find. } else { print "\n\nServer not linked connecting now\n\n"; qx|net use \\\\$server\\C\$\\VoiceGenie\\mp\\log $ServerP +assword /user:$username|; find( \&finddata, "\\\\$server\\c\$\\VoiceGenie\\mp\\logs\ +\" ) or warn "Could not enter the specified path \\\\$server\\ +c\$\\VoiceGenie\\mp\\logs\\.\n"; #Function that allows the use of Fil +e::Find. qx|net use \\\\$server\\C\$\\VoiceGenie\\mp\\log /D|; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: server login
by NetWallah (Canon) on Mar 03, 2012 at 01:50 UTC | |
by Anonymous Monk on Mar 05, 2012 at 14:17 UTC |