I am still working on that batch file and not getting anywhere. I've decided to just copy/paste into "Run". It works just fine that way and does the same thing.
Does it work if you go to C:\ in explorer and double click on the memoryscan.bat ?
If it does try dragging the batch file from c:\ to your desktop (left click on the file and hold, keeping the left mouse key down drag it to an empty part of your desktop screen and release the left mouse key. Try double clicking it from there, that also works for me from the desktop.