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

Home -> Community -> Usenet -> c.d.o.server -> Re: execute cmd line cmd from within sqlplus?

Re: execute cmd line cmd from within sqlplus?

From: Maxim Demenko <mdemenko_at_gmail.com>
Date: Wed, 19 Oct 2005 23:39:49 +0200
Message-ID: <dj6ef4$sqb$02$1@news.t-online.com>


Joe D schrieb:
> Hi,
> Is there a way to call dos command or run a batch file from within sqlplus?
> Yea, the platform is Windows.
>
> thanks,
> JD
>
>

C:\Oracle>sqlplus scott/tiger_at_ora102

SQL*Plus: Release 10.1.0.4.0 - Production on Wed Oct 19 23:37:31 2005

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

SQL> host dir
  Volume in Laufwerk C: hat keine Bezeichnung.   Volumeseriennummer: 148F-8FE2

  Verzeichnis von C:\Oracle

26.09.2005  09:01    <DIR>          .
26.09.2005  09:01    <DIR>          ..
14.10.2005  22:00    <DIR>          InstantClient
                0 Datei(en)              0 Bytes
                3 Verzeichnis(se), 14.009.765.888 Bytes frei

SQL> Best regards

Maxim Received on Wed Oct 19 2005 - 16:39:49 CDT

Original text of this message

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