調べ物:WSHでスクリプトファイル名取得 [プログラミング学習]
スクリプトファイルの名称取得にはWScript.ScriptNameでよいようだ。
「1.4 自分自身のファイル名を得る」
http://www.happy2-island.com/vbs/cafe02/capter00104.shtml
「1.5 自分が保存されているフルパスを得る」
http://www.happy2-island.com/vbs/cafe02/capter00105.shtml
このサイトはいいね。
「WSHスクリプトからのファイル操作(2) - @IT」
http://www.atmarkit.co.jp/fwin2k/operation/wsh11/wsh11_01.html
「1.4 自分自身のファイル名を得る」
http://www.happy2-island.com/vbs/cafe02/capter00104.shtml
「1.5 自分が保存されているフルパスを得る」
http://www.happy2-island.com/vbs/cafe02/capter00105.shtml
このサイトはいいね。
「WSHスクリプトからのファイル操作(2) - @IT」
http://www.atmarkit.co.jp/fwin2k/operation/wsh11/wsh11_01.html
コメント 0