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|; } } }
In reply to Re^6: server login
by Anonymous Monk
in thread server login
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |