my $eingabe;
print "Festplattengroesse:\n";
print "[1] 40 Gigabyte\n";
print "[2] 60 Gigabyte\n";
print "[3] 80 Gigabyte\n";
ABFRAGE:
$eingabe = <STDIN>;
chomp($eingabe);

        if ($eingabe == 1) {
$u->read (dos_to_host ('z:\\site\\unattend.txt'));
}
        if ($eingabe == 2) {
$u->read (dos_to_host ('z:\\site\\unattend2.txt'));
}
        else { goto ABFRAGE;
}

--
That should work.

Regards,

Christian


------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ unattended-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to