I was playing with cmd.exe, but in its help I didn't find any info, how to ... Ok. I'll try to be as clearer as possible to not be misunderstood.
stackoverflow.com