/ Published in: DOS Batch
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.
organicit on 12/27/10
2 people have marked this snippet as a favorite
Subscribe to comments
You need to login to post a comment.
All the mkdir hackery can be shortened to: mkdir NewProject/{js,css,img}; Not sure how copy /y works but in OSX terminal you could do this: touch index.html js/app.js css/default.css
Summary: mkdir NewProject/{js,css,img}; cd NewProject; touch index.html js/app.js css/default.css
I think you could use the echo command as well to do the empty files:
echo "" > js\app.js