Article View: fj.lang.visualbasic
Article #353Re: [Q]ディレクトリ内全ファイルのコピー方法
From: CAMEL
Date: Thu, 19 Mar 1998 00:00
Date: Thu, 19 Mar 1998 00:00
23 lines
1372 bytes
1372 bytes
Koji Kubo wrote in message <6elbrg$esd$1@ptop03.ptop.ad.jp>...
> 久保と申します。もう一つ質問させてください。
>
> VB5でディレクトリごとすべてまたは、ワイルドカードの指定できる
>コピー方法(DOSのCOPYコマンドのようなやつ)をご存知の方がいらっし
>ゃれば教えてください。
> よろしくお願いします。
>
>
SHELL コマンドを使用するのがいいです。
このコマンドはDOSコマンドをVB上で実行する為のコマンドです。
使用例としては
Shell copy a:\*.* c:\temp\*.*
と言うように、そのままDOSコマンドを使用できます。
詳しくはHELPファイル参照してください。
★ 岸裏 典雄 ( CAMEL@interline.or.jp ) ★
Technical Details
Message-ID:
<6er3e4$72h$1@st0.nnc.or.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6elbrg$esd$1@ptop03.ptop.ad.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 105c2e,fdc5cc7f7cfb6164 X-Google-Attributes: gid105c2e,public From: "CAMEL" <CAMEL@interline.or.jp> Subject: Re: [Q]ディレクトリ内全ファイルのコピー方法 Date: 1998/03/19 Message-ID: <6er3e4$72h$1@st0.nnc.or.jp> X-Deja-AN: 335566684 Content-Transfer-Encoding: 7bit References: <6elbrg$esd$1@ptop03.ptop.ad.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: NNC-NET Newsgroups: fj.lang.visualbasic