無法開啟vbs檔案

2021-08-19 08:06:05 字數 1294 閱讀 6986

系統win7

開啟不了.vbs的檔案

處理如下

註冊三個元件:

regsvr32 c:\windows\system32\shell32.dll

regsvr32 c:\windows\system32\scrrun.dll

regsvr32 c:\windows\system32\wshom.ocx

然後

windows registry editor version 5.00

[hkey_classes_root\.vbs]

@="vbsfile"

[hkey_classes_root\vbsfile]

@="vbscript file"

[hkey_classes_root\vbsfile\scriptengine]

@="vbscript"

[hkey_classes_root\vbsfile\scripthostencode]

@=""

[hkey_classes_root\vbsfile\shell]

@=""

[hkey_classes_root\vbsfile\shell\open]

@="開啟(&o)"

[hkey_classes_root\vbsfile\shell\open\command]

@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\

00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\

63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\

00,22,00,20,00,25,00,2a,00,00,00

[hkey_classes_root\vbsfile\shellex]

[hkey_classes_root\vbsfile\shellex\drophandler]

@=""

[hkey_classes_root\vbsfile\shellex\propertysheethandlers]

[hkey_classes_root\vbsfile\shellex\propertysheethandlers\wshprops]

@=""

將上段內容複製到txt中,字尾名改為reg,啟動即可。

開啟vbs可能還需要.net環境支援。

「 CHM檔案」無法開啟

chm檔案 無法開啟 解決方法 兩種方案 a 這是一種幫助檔案 用microsoft html help executable 開啟,就是c windows hh.exe 系統自帶的,你肯定是把這個檔案給刪了。到別人的電腦上copy乙個hh.exe 放到上面那個目錄裡,再雙擊乙個chm檔案,如果讓你...

無法開啟包括檔案 「SDKDDKVer h

無法開啟包括檔案 sdkddkver.h no such file or directory 在已經裝有visual studio 2010的系統中,同時安裝visual studio 2012,安裝過程很順利,但到使用vs2013時,卻出問題了。原因 出現這個bug的原因是vs2013中關於win...

無法開啟原始檔 jni h

問題描述 vs2017匯入了jni.h jni md.h後 include jni.h 自己的.h標頭檔案引入jni.h報錯 jniexport 也報錯 解決辦法 講jni.h 和 jni md.h的內容分別複製刪除原始檔,然後新建兩個同名的標頭檔案,講內容貼上進去 include 如果jni h中...