Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrian Schmitz
11,167 PointsSyntax not working in the terminal on windows when running tests - "mkdir -p spec/features/todo_lists"
Does anyone know if there is alternative for this code for windows so that I can create the sub-directories here. I am getting a response in the terminal that says "syntax of the command is incorrect."
I have - "mkdir -p spec/features/todo_lists"
Thanks
3 Answers
Michael Hulet
47,913 PointsIf you're on Windows, try omitting the -p
flag
Brian Schmitz
11,167 PointsHey Michael,
I tried that and it gave me the same "syntax not working" message. I just went into cd spec and created mkdir features and then went into that folder and created mkdir todo_lists and that has seemed to work fine this far. We'll see if I need to have the subdirectories at all later I guess.
Thanks for the time.
Ryan Hemrick
12,759 PointsUsing backslashes instead of forwardslashes works