調べ物:WSHでサブフォルダ取得 [プログラミング学習]
フォルダの存在チェック用にサブフォルダを取得したい。
For Each (インデックス) In (オブジェクト).Subfolders
'
Next
でいいらしい。
「Tips - ステップアップWSH」
http://www1.u-netsurf.ne.jp/~tomo_c/tips/R23Lev10.html
「【WSHリファレンス】FileSystemObject オブジェクト - WSH@Workshop」
http://wsh.style-mods.net/ref_filesystemobject/index.htm
「Tips - ステップアップWSH」
http://www1.u-netsurf.ne.jp/~tomo_c/tips/R23Lev09.html
「Tips - ステップアップWSH」
http://www1.u-netsurf.ne.jp/~tomo_c/tips/R23Lev02.html
「WSH - スクリプトのフォルダを取得: みズとおかズ」
http://okazu.air-nifty.com/blog/2009/02/wsh---1031.html
「VBscriptでカレントディレクトリの変更をするには » Jeans & Development」
http://kandk.cafe.coocan.jp/jeans/index.php?itemid=22
For Each (インデックス) In (オブジェクト).Subfolders
'
Next
でいいらしい。
「Tips - ステップアップWSH」
http://www1.u-netsurf.ne.jp/~tomo_c/tips/R23Lev10.html
「【WSHリファレンス】FileSystemObject オブジェクト - WSH@Workshop」
http://wsh.style-mods.net/ref_filesystemobject/index.htm
「Tips - ステップアップWSH」
http://www1.u-netsurf.ne.jp/~tomo_c/tips/R23Lev09.html
「Tips - ステップアップWSH」
http://www1.u-netsurf.ne.jp/~tomo_c/tips/R23Lev02.html
「WSH - スクリプトのフォルダを取得: みズとおかズ」
http://okazu.air-nifty.com/blog/2009/02/wsh---1031.html
「VBscriptでカレントディレクトリの変更をするには » Jeans & Development」
http://kandk.cafe.coocan.jp/jeans/index.php?itemid=22
コメント 0