Skip to content

ShadowSpawn fails when robocopy uses a /log argument that includes quotes #20

Description

@dbolton

When I include a /LOG argument with quotes ShadowSpawn gives the following error message:
Error: Command line contains mismatched quotes: C:\Users\username\Documents\Backup\ShadowSpawn-0.2.2-x64\ShadowSpawn.exe "C:\Users\username\Documents\Backup\Test folder" Q: robocopy Q: "F:\Backup (Test)" /E /COPYALL /FFT /Z /XJ /ETA /LOG:"C:\Users\username\Documents\Backup\log.txt"

In this particular example I can drop the quotes and it works (because there are no spaces in the path).

However, I would eventually like to create a log in a path that includes a space (and therefore requires quotes).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions