http://qs321.pair.com?node_id=861522

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