Generating hierachy docs with tags etc

April 20, 2011 at 04:38:38
Specs: Windows Vista
hi im making a batch file wich is supose to generate my hierachy to my webdevelopment the files need to have some content (<tags> styles and scripts)

i tried llike this
echo <html> <head> </head> <body> </body> </html> > folders/default.html
so if anyone been here before then im thankfull for any help provided :)

after all its all about automatization aight ?

my batch is like this:

@echo off

md Folders
echo > folders/default.html
echo > folders/style.css
echo > folders/javascript.js
echo The folders has now been generated

but when i try different ways to put the code its not working, btw the normal formatted text is showen but the tags is not showen.

erroemessage is something like this: echo is off (i try also with echo on same result)


See More: Generating hierachy docs with tags etc

Report •

April 22, 2011 at 04:16:36
You'll need to escape the tags with the carrot.
echo ^<html^> ^<head^> ^</head^> ^<body^> ^</body^> ^</html^> > folders/default.html

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question