Skip to content

Fix (configuration): Add support for $notesdestpath config option to contain spaces#165

Merged
leojonathanoh merged 1 commit intomasterfrom
fix/configuration-add-support-for-notesdestpath-config-option-to-contain-spaces
Jul 12, 2023
Merged

Fix (configuration): Add support for $notesdestpath config option to contain spaces#165
leojonathanoh merged 1 commit intomasterfrom
fix/configuration-add-support-for-notesdestpath-config-option-to-contain-spaces

Conversation

@leojonathanoh
Copy link
Copy Markdown
Member

Closes #163

@leojonathanoh leojonathanoh self-assigned this Jul 10, 2023
@leojonathanoh leojonathanoh added this to the v2.20.1 milestone Jul 10, 2023
@leojonathanoh leojonathanoh force-pushed the fix/configuration-add-support-for-notesdestpath-config-option-to-contain-spaces branch from 872af21 to 00d41dd Compare July 10, 2023 16:59
@leojonathanoh leojonathanoh modified the milestones: v2.20.1, v2.21.0 Jul 10, 2023
@leojonathanoh leojonathanoh force-pushed the fix/configuration-add-support-for-notesdestpath-config-option-to-contain-spaces branch from 00d41dd to b2a5865 Compare July 10, 2023 17:09
@leojonathanoh
Copy link
Copy Markdown
Member Author

leojonathanoh commented Jul 11, 2023

Did a little testing, this should work without breaking existing behavior.

test.zip

@fromSmolsoft
Copy link
Copy Markdown

@leojonathanoh Seems to be working with export path containing white spaces. Thank you for fixing it.

Interestingly enough, now OneNote has to be run as Administrator too. Before i could run OneNote as user and PW as administrator.

@leojonathanoh leojonathanoh force-pushed the fix/configuration-add-support-for-notesdestpath-config-option-to-contain-spaces branch from d430d98 to e60ffcc Compare July 12, 2023 04:50
@leojonathanoh
Copy link
Copy Markdown
Member Author

Interestingly enough, now OneNote has to be run as Administrator too. Before i could run OneNote as user and PW as administrator.

Yes, this is a known issue, there may be different combinations of needing to run OneNote and Powershell as Administrator, still don't know why but it might be something to do with UAC settings, or Windows 11 / Windows 10 differences in security contexts. Glad you have it sorted though 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File path with spaces don't work

2 participants