Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Write Our First Tests

HAROLD ARELLANO
HAROLD ARELLANO
155 Points

What are the equivalent DOS commands in windows for "rm", "mkdir"?

I can not continue with the tutorial if I can not run commands like,

$mkdir -p spec/features/todo_lists

I get an syntax error in windows: "The syntax of the command is incorrect."

3 Answers

Seth Kroger
Seth Kroger
56,361 Points

Windows doesn't need the -p flag for mkdir and the sort-of equivalent for rm is del.

HAROLD ARELLANO
HAROLD ARELLANO
155 Points

Thank you Seth. I just signed up today. I was just thinking of buying a mac.

Alvaro Carrillo
Alvaro Carrillo
5,770 Points

The commands are ok the difference is that in windows you should use backslashes () on the Cmder. Beware though when you refer to a web address since you should use regular slashes (/).