Skip to content

Error on Windows: "system cannot find the path specified. (os error 3)" #8

Description

@asclepiadae

Downloaded the Windows compiled binary, and tried running it. The binary is located in the folder that I am looking to download the Moodle data to.
The path is nice and short:
C:\Users\usern\Moodle

I am using the following in PowerShell and CMD as the first part of the full command as I have a token:
.\edu-sync-cli add https://moodle.domain.tld path

I have tried the following as the entry for the path:

\
/
~
~\
.
C:\Users\usern\Moodle
C:/Users/usern/Moodle
"C:\Users\usern\Moodle"
'C:\Users\usern\Moodle'
download
\download
C:\Users\usern\Moodle\download
C:\Moodle\
C:\Moodle

Note that the folders C:\Users\usern\Moodle\download and C:\Moodle do not actually exist, just in case the utility needed a path to create a directory.

For every single attempt I get:
Error: The system cannot find the path specified. (os error 3)

If I run .\edu-sync-cli config I get a very nice returned line:
C:\Users\usern\AppData\Roaming\Edu Sync\Edu Sync\config\Edu Sync\Edu Sync.toml

I just don't understand why that format doesn't seem to be a valid entry for the download-to path!

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions