Computer Hope

Microsoft => Microsoft DOS => Topic started by: diablo416 on July 24, 2008, 10:06:56 AM

Title: found another way to append
Post by: diablo416 on July 24, 2008, 10:06:56 AM

im using xp pro, try this i didnt know you could do this till a minute ago while i was messing around

2^> FILENAME FIRSTLINEOFTEXT

then type type filename

and you can clear the file, by typing

1^> FILENAME Meaninglesstext


it is also possible to call on a batch file like this..
by default if you type i^> it shouldnt do anything
so if you made a .cmd file called id.cmd , that echoed %1 %2 %3 %4
you could instead type i^> 1 2 3 4 if you switch the folder you have id.cmd in
Title: Re: found another way to append
Post by: erobby on July 24, 2008, 06:46:23 PM
now that kewl diablo