Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Exec shell command on WinNT?

Re: Exec shell command on WinNT?

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Tue, 30 Jun 1998 23:49:17 GMT
Message-ID: <35997971.664856@192.86.155.100>


A copy of this was sent to Rene Guitar <rene.guitar_at_videotron.ca> (if that email address didn't require changing) On Tue, 30 Jun 1998 23:14:35 GMT, you wrote:

>Hi !
>
>We use sql*net on WinNT workstation and SQL on a unix box. On the Unix
>machine it's possible to invoque shell command with ! like "! pwd" will
>show the current directory... My question is, is it possible to do so on
>NT workstation using SQL*Plus?
>
>The problem is that a script file generate another file and we want to
>delete this file after the execution of the first script, wich are on
>the NT machine... any idea?

SQL> host <cmd>

will work....  

Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Herndon VA  

http://govt.us.oracle.com/ -- downloadable utilities  



Opinions are mine and do not necessarily reflect those of Oracle Corporation  

Anti-Anti Spam Msg: if you want an answer emailed to you, you have to make it easy to get email to you. Any bounced email will be treated the same way i treat SPAM-- I delete it. Received on Tue Jun 30 1998 - 18:49:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US