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 trialjaneporter
Courses Plus Student 23,471 Pointsmkdir -p spec/features/todo_lists command does not work on Windows command line
trying to create a directory using 'mkdir -p spec/features/todo_lists' command, but i'm getting a syntax error on Windows command line...
'the syntax of the command is incorrect'
so...what would be the command for Windows??
4 Answers
Jeremy Kerrigan
12,002 Pointsahh looks like Jason uses forward slashes and when I used backslashes and also omitting the -p in the code it worked for me on Windows 7.
mkdir \spec\features\todo_lists
Seth Kroger
56,413 PointsThe MSDOS version of mkdir works without the -p, so remove it.
Jeremy Kerrigan
12,002 PointsSame problem as Jane. I tried that taking out the -p, Seth Kroger, and it still doesn't work. Any other suggestions? Thanks
Abirbhav Goswami
15,450 PointsBackslashes are your friend. UNIX specifies file names with forwards slashes. Windows: Backslashes.