getting below error, force:project:create -n projectname The filename, directory name, or volume label syntax is incorrect.

when running command - force:project:create -n projectname in CLI

1 Answer 1


You can try to wrap the projectname in quotes like

sfdx force:project:create -n "your project name"

Hope that helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.