thanks matt...for carin' to reply...but the prob still persists!!..well i tried something like this.
the output of my dir command is too large and ,may be that's why i 'm not gettin' the output....so i tried to print a large output stored in a text file by my java program(dos command "TYPE") AND TO MU surprise i could only type the file on the dos console when the size of the file was small. I could not type a large file!!!