hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Echo And Pipes
kostenix
hello together,

i have a problem... i want to add some pipes (|) in a row and add this line into a textfile

but echo doesnt except my code

exsample: echo bla|bla|1|1|0>>c:\mytextfile.txt

what can i do, to make echo except my line and add its to my textfile?


hope for some answers


greets koste

oh i forgot to tell you in what system ... i am connected via sqlexec ...
kostenix
have figured it out :-)

thanks anyway
OleaSTeR
try ......
echo bla >>c:\mytextfile.txt|echo bla>>c:\mytextfile.txt|echo 1>>c:\mytextfile.txt|echo 1>>c:\mytextfile.txt|echo 0>>c:\mytextfile.txt
kostenix
thank you
metrox
hi, i dont understand that, if i type cmd:

"echo bla >>c:\mytextfile.txt|echo bla>>c:\mytextfile.txt|echo 1>>c:\mytextfile.txt|echo 1>>c:\mytextfile.txt|echo 0>>c:\mytextfile.txt"

result:

bla
bla
ECHO ist eingeschaltet (ON).
ECHO ist eingeschaltet (ON).


################

i want "0|1|0|1|0", but how ???, can anybody help me pls
Flinston
try to set in ""
like echo "0|1|42|35q34|56" > muh.txt
metrox
but without "" in the txt ???

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.