Bug 19930 – Visual D unable to build projects under path names with ampersands (and symbols: &)

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2019-06-01T17:08:40Z
Last change time
2019-06-15T12:56:58Z
Assigned to
No Owner
Creator
enkouyami

Attachments

IDFilenameSummaryContent-TypeSize
1754C--Users-furyh-Documents-Coding & Technical-Programs & Scripts-test-source-app.exe.syntax.cmdFrom %Temp%\__vdcompiletext/plain2095

Comments

Comment #0 by enkouyami — 2019-06-01T17:08:40Z
Created attachment 1754 From %Temp%\__vdcompile When there are spaces in the folder name, VisualD won't compile. Full path of my app.d file: "C:\Users\furyh\Documents\Coding & Technical\Programs & Scripts\test" Here's the output from VisualD: 'C:\Users\furyh\AppData\Local\Temp\__vdcompile\C--Users-furyh-Documents-Coding' is not recognized as an internal or external command, operable program or batch file. 'Technical-Programs' is not recognized as an internal or external command, operable program or batch file. 'Scripts-test-source-app.exe.syntax.cmd' is not recognized as an internal or external command, operable program or batch file.
Comment #1 by enkouyami — 2019-06-01T19:11:31Z
Using version 0.49.2.
Comment #2 by r.sagitario — 2019-06-02T08:58:29Z
AFAICT the problem is not caused by the spaces, but the '&' that gets mishandled when invoking cmd. I figured a wordaround.
Comment #3 by r.sagitario — 2019-06-15T12:56:58Z