
You can move it around and use it to make changes to the contents of the pixel variables. I have set it up with a cursor-like object that the user can control.

This is a simple idea, but the mechanics are complicated because the program has to be able to keep track of the variable and be able to manipulate them. For each pixel you want in a row of pixels, you add another variable to that line, and for each new row you create another line of variables to be echoed under previous one. Each variable acts as one pixel, and contains a symbol that displays on the screen. The program works by echoing a long list of variable onto the CMD line. If you're new to CMD scripting you can still run the program, but trying to edit it may prove a nightmare without a good understanding of the batch language.
PIXEL 2 SIMPLE NOTEPAD CODE
I'll give you fair warning: this code is pretty intense. The program is designed to create a usable space containing a movable cursor, surrounded by a border to keep the cursor from jumping around and to provide a boundary for the screen, but the script can be adapted to look and work however you want. I've polished it up and made some modifications to streamline the code, but it was originally designed on Windows XP, so there may be a lot of room for updates. I designed this code about five years ago as a submission to Shadow Ops' Elite Batch Members group, and though that group no longer exists, I think it's still a good bit of work.

This is neat because the CMD line isn't designed to work with pixels or a window-like screen but with lines of text, and though this code won't do anything too extravagant, it's an interesting exercise in scripting and could be useful in scripts with some sort of user interface. This batch program creates a pixel screen in the CMD window, using variables as pixels, and can be manipulated with input commands to move a cursor, change a pixel or play a game.
