Skip to content

File path with spaces don't work #163

@fromSmolsoft

Description

@fromSmolsoft

Bug

$notesdestpath = '...' can't work with file-path that includes space.
It passes path without double quotations "" to the pandoc.

Pandoc thinks of part of the path after the space as param.
e.g. 'c:\My Notes\notes' or "c:\My Notes\notes" or '"c:\My Notes\notes"' Will result in creating *.docx but pandoc will report it can't find file located at c:\My

Expectation

Should work regardless of space in file-path.
probably it needs to pass "path" to pandoc wrapped in double quotations.

Discussion

Environment

PowerShell-7.0.13-win-x64

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions