PAS安装: windows10中执行install.cmd安装PAS报错:系统找不到指定路径

在Windows10系统中,尝试安装PAS6.5时遇到错误,问题源于安装路径名含有空格。为了解决这个问题,只需删除目录名称中的空格,然后关闭并重新打开CMD窗口,重新运行install.cmd安装命令,即可顺利完成安装。

【问题描述】

 在windows10中,执行install.cmd安装PAS 6.5报错:

【问题原因】

安装目录名称中有空格,例如:PAS6.5.0SP1  release

【解决方案】

删除目录名称中的空格,关闭cmd窗口,重新打开执行install.cmd命令安装成功。

【原文链接】

http://doc.primeton.com/pages/viewpage.action?pageId=61922693

这是用户区的settings.json: { "code-runner.fileDirectoryAsCwd": true, "code-runner.runInTerminal": true, "code-runner.clearPreviousOutput": true, "security.workspace.trust.untrustedFiles": "open", "markdown-preview-enhanced.mathRenderingOption": "MathJax", "markdown.extension.completion.enabled": true, "python.defaultInterpreterPath": "C:\\Users\\imsfp\\AppData\\Local\\Programs\\Python\\Python313\\python.exe", "editor.fontFamily": "Maple Mono, Consolas, monospace", "terminal.integrated.fontFamily": "monospace", "workbench.iconTheme": "vscode-icons", "workbench.colorCustomizations": { "editorCursor.foreground": "#FF0000", "terminalCursor.foreground": "#FF5555" }, "window.titleBarStyle": "custom", "python.terminal.executeInFileDir": true, "python.analysis.completeFunctionParens": true, "code-runner.executorMap": { "python": "set PYTHONIOENCODING=utf8 && $pythonPath -u $fullFileName" }, "code-runner.showExecutionMessage": false, "git.ignoreMissingGitWarning": true, "git.openRepositoryInParentFolders": "never", "github.copilot.chat.agent.thinkingTool": true, "github.copilot.chat.languageContext.typescript.enabled": true, "github.copilot.chat.newWorkspaceCreation.enabled": true, "github.copilot.chat.editor.temporalContext.enabled": true, "terminal.integrated.defaultProfile.windows": "Windows PowerShell", "editor.formatOnSave": true, "python.analysis.typeCheckingMode": "strict", "chat.editing.confirmEditRequestRetry": false, "github.copilot.chat.agent.toolValidation": "strict", "github.copilot.codeQualityScan.enabled": true, "chat.mcp.discovery.enabled": true, "[markdown]": { "editor.defaultFormatter": "DavidAnson.vscode-markdownlint" }, "explorer.confirmDelete": false, "files.autoSave": "afterDelay", "geminicodeassist.project": "noble-subset-466101-u9", "IntelligentCodeCompletion.disableLanguages": { "vue": "false", "typescript": "false", "javascript": "false", "python": "false", "go": "false", "c": "false", "c++": "false", "shell": "false", "bash": "false", "batch": "false", "lua": "false", "java": "false", "php": "false", "ruby": "false" }, "FunctionQuickCommands.disableLanguages": { "typescript": "false", "javascript": "false", "python": "false", "go": "false", "c": "false", "c++": "false", "lua": "false", "java": "false", "php": "false", "ruby": "false" }, "IntelligentCodeCompletion.enabled": true, "zgsm.allowedCommands": [ "npm test", "npm install", "tsc", "git log", "git diff", "git show" ], "github.copilot.nextEditSuggestions.enabled": true, "[python]": { "diffEditor.ignoreTrimWhitespace": false, "editor.defaultColorDecorators": "never", "gitlens.codeLens.symbolScopes": [ "!Module" ], "editor.formatOnType": true, "editor.wordBasedSuggestions": "off" }, "terminal.integrated.splitCwd": "workspaceRoot", "code-runner.executorMapByFileExtension": { ".vb": "cd $dir && vbc /nologo $fileName && $dir$fileNameWithoutExt", ".vbs": "cscript //Nologo", ".scala": "scala", ".jl": "julia", ".cr": "crystal", ".ml": "ocaml", ".zig": "zig run", ".exs": "elixir", ".hx": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", ".rkt": "racket", ".scm": "csi -script", ".ahk": "autohotkey", ".au3": "autoit3", ".kt": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar", ".kts": "kotlinc -script", ".dart": "dart", ".pas": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", ".pp": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", ".d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", ".hs": "runhaskell", ".nim": "nim compile --verbosity:0 --hints:off --run", ".csproj": "dotnet run --project", ".fsproj": "dotnet run --project", ".lisp": "sbcl --script", ".kit": "kitc --run", ".v": "v run", ".vsh": "v run", ".sass": "sass --style expanded", ".cu": "cd $dir && nvcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", ".ring": "ring", ".sml": "cd $dir && sml $fileName", ".mojo": "mojo run", ".erl": "escript", ".spwn": "spwn build", ".pkl": "cd $dir && pkl eval -f yaml $fileName -o $fileNameWithoutExt.yaml", ".gleam": "gleam run -m $fileNameWithoutExt" }, "code-runner.saveAllFilesBeforeRun": true, "code-runner.saveFileBeforeRun": true, "code-runner.languageIdToFileExtensionMap": { "bat": ".bat", "powershell": ".ps1", "typescript": ".ts" }, "code-runner.terminalRoot": "'/mnt/", } 检查是哪个设置出了问题使得coderunner持续的使用unix风格命令
07-20
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值