sugarboy has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
Am trying to executed the below command
net use Y: /DELETE
As there are some open files in it it asks for confirmation which is as follows:
There are open files and/or incomplete directory searches pending on the connection to Y:.
Is it OK to continue disconnecting and force them closed? (Y/N) N:
I would like delete irrespective of open files existing in it
Is it possible to provide execute the command providing interactive input as Y using Net::SSH::Perl
Thanks,
Sagar
Am trying to executed the below command
net use Y: /DELETE
As there are some open files in it it asks for confirmation which is as follows:
There are open files and/or incomplete directory searches pending on the connection to Y:.
Is it OK to continue disconnecting and force them closed? (Y/N) N:
I would like delete irrespective of open files existing in it
Is it possible to provide execute the command providing interactive input as Y using Net::SSH::Perl
Thanks,
Sagar
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Executing a command using Net::SSH::Perl
by marto (Cardinal) on Sep 23, 2010 at 12:50 UTC | |
Re: Executing a command using Net::SSH::Perl
by dorko (Prior) on Sep 23, 2010 at 14:30 UTC |
Back to
Seekers of Perl Wisdom