Issue with ">> file >>"

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
psinetic
Posts: 2
Joined: 25 Jun 2008 07:31

Issue with ">> file >>"

#1 Post by psinetic » 25 Jun 2008 07:46

ok, i'm wanting to do this:

echo type %0 >> stupid.bat >> dumb.bat

but it won't let me, it keeps nullifying the other ">>" symbol and ruins everything.

anyone know any way around this? i don't care how long the method is, i just want to do it.

DGMakers
Posts: 13
Joined: 30 Jun 2008 04:28

#2 Post by DGMakers » 30 Jun 2008 04:33

echo type %0 ^>^> stupid.bat >> dumb.bat

so i think

Thebetr1
Posts: 12
Joined: 30 Jun 2008 02:50
Location: My computer
Contact:

#3 Post by Thebetr1 » 30 Jun 2008 04:36

yes my friend dgmakers is right

DGMakers
Posts: 13
Joined: 30 Jun 2008 04:28

#4 Post by DGMakers » 30 Jun 2008 04:39

lol, and why are you using .bat files? .cmd files are better because they can run more commands... unless you are using windows ME or earlier which can only use bat files?

Post Reply