无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

如果三連吧給你們看看我的發(fā)表的文章里vbs報(bào)錯(cuò)怎么辦

2023-07-26 14:52 作者:三連吧AAAQ  | 我要投稿

如果vbs報(bào)錯(cuò),就復(fù)制這些代碼Set oShell = CreateObject("WScript.Shell")

Set oEnv = oShell.Environment("USER")

Set oFS = CreateObject("Scripting.FileSystemObject")


software = "IntelliJIdea"

javaagentFile = "idea64.exe.vmoptions"

javaagentkey = "idea.key"


Dim scriptPath, systemUser

scriptPath = oFS.GetFile(Wscript.ScriptFullName).ParentFolder.Path

systemUser = oShell.ExpandEnvironmentStrings("%APPDATA%")


jetPath = systemUser & "\JetBrains\"

if oFS.folderExists(jetPath) Then

? ??

Else

? ? MsgBox "Please launch your " & software & " first!"

? ? wscript.quit

End If


jetRiderCrackPath = systemUser & "\" & software


if oFS.folderExists(jetRiderCrackPath) Then

? ? oFS.deleteFolder jetRiderCrackPath, True?

End If


oFS.createFolder jetRiderCrackPath


oFS.createFolder jetRiderCrackPath & "\config\"

scriptPathConfig = scriptPath & "\config\"

if oFS.folderExists(scriptPathConfig) Then

? ? oFS.CopyFile scriptPathConfig & "*", jetRiderCrackPath & "\config\"

Else

? ? MsgBox "Pls unzip your crack package at all!"

? ? wscript.quit

End If


oFS.createFolder jetRiderCrackPath & "\plugins\"

scriptPathPlugins = scriptPath & "\plugins\"

if oFS.folderExists(scriptPathPlugins) Then

? ? oFS.CopyFile scriptPathPlugins & "*", jetRiderCrackPath & "\plugins\"

Else

? ? MsgBox "Pls unzip your crack package at all!"

? ? wscript.quit

End If


oFS.CopyFile scriptPath & "\active-agt.jar", jetRiderCrackPath & "\"


Exist = 0

Set allVersions = oFS.GetFolder(jetPath)

Set folders = allVersions.SubFolders

For Each folder in folders

? ? pos = InStr(folder.name, software)?

? ? If pos <> 0 Then

? ? ? ? Exist = pos

? ? ? ? oFS.CopyFile scriptPath & "\" & javaagentFile, folder.path & "\", True

? ? ? ? oFS.CopyFile scriptPath & "\" & javaagentkey, folder.path & "\", True

? ? ? ? versionPath = folder.path & "\" & javaagentFile

? ? ? ? ProcessVmOptions versionPath

? ? End If? ??

Next


Sub ProcessVmOptions(ByVal file)

? ? Dim sLine, sNewContent, bMatch

? ? Set oFile = oFS.OpenTextFile(file, 1, 0)


? ? sNewContent = ""

? ? Do Until oFile.AtEndOfStream

? ? ? ? sLine = oFile.ReadLine

? ? ? ? bMatch = re.Test(sLine)

? ? ? ? If Not bMatch Then

? ? ? ? ? ? sNewContent = sNewContent & sLine & vbLf

? ? ? ? End If

? ? Loop

? ? oFile.Close


? ? sNewContent = sNewContent & "--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED" & vbcrlf & "--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED" & vbcrlf & "-javaagent:" & jetRiderCrackPath & "\active-agt.jar"

? ? Set oFile = oFS.OpenTextFile(file, 2, 0)

? ? oFile.Write sNewContent

? ? oFile.Close

End Sub


If Exist <> 0 Then

? ? MsgBox "Success!!! Now you can enjoy " & software & " to 2099"

Else?

? ? MsgBox "Please launch your " & software & " first! Then execute vbscript!!!"

End If

如果三連吧給你們看看我的發(fā)表的文章里vbs報(bào)錯(cuò)怎么辦的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
桦南县| 安国市| 仙居县| 临邑县| 灌云县| 延寿县| 凤阳县| 新疆| 临颍县| 长汀县| 依安县| 固原市| 忻城县| 沈阳市| 阳东县| 寿阳县| 双流县| 海门市| 通海县| 新昌县| 施甸县| 仁布县| 宝清县| 普兰县| 江阴市| 大理市| 库伦旗| 获嘉县| 台江县| 延庆县| 松溪县| 潮州市| 萨嘎县| 康定县| 吴堡县| 高邑县| 合肥市| 黄梅县| 思南县| 佛坪县| 奎屯市|