#author("2024-02-11T20:36:41+09:00","default:Authors","Authors")
''[[TopPage]]''

* 単純なファイルオープン [#fb78c767]

ファイル名: FileOpen.vbs
 Dim filePath
 
 filePath = "C:\XXXXXXXX\src\"
 
 CreateObject("Shell.Application").ShellExecute filePath + "AAA.cpp"
 CreateObject("Shell.Application").ShellExecute filePath + "BBB.cpp"
 CreateObject("Shell.Application").ShellExecute filePath + "BBB.h"
 
 CreateObject("Shell.Application").ShellExecute filePath + "CCC\CCC.cpp"
 
 CreateObject("Shell.Application").ShellExecute "C:\XXXXXXXXXXXXXXXXXXXX\FileOpen.vbs"

*** 参考ページ [#hbb7d8b2]
[[【Excel VBA】【マクロ】【Tips】VBSでファイルを開く:https://lenoco.tokyo/?p=404]]~


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS