Cmdlets for CSV

Build 25.0.9434

IncludeSubdirectories Parameter (Connect-CSV Cmdlet)

ネストされたフォルダからファイルを読み出すかどうか。名前衝突が起こった場合は、テーブル名の前にアンダースコアで区切られたフォルダ名が付けられます。

Syntax

Connect-CSV -IncludeSubdirectories SwitchParameter

Data Type

bool

Default Value

false

Remarks

ネストされたフォルダからファイルを読み取るかどうか。ローカルCSVにアクセスする場合、本製品 はサブフォルダで定義されたSchema.ini を尊重します。テーブル名には、テーブル名が競合する場合にのみ、アンダースコアで区切られたネストされた各フォルダ名の接頭辞が付けられます。次に例を示します。

Root\subfolder1\tableARoot\subfolder1\subfolder2\tableA
subfolder1_tableAsubfolder1_subfolder2_tableA

When defining a Schema.ini for local CSV folders, table names do not need to be prefixed in the section names. This allows you to move the folder or use the 本製品 alongside the OLEDB Jet Driver.

Archive files (ZIP, GZ, TAR) are also supported and treated like folders.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434