Controlling a dc motor with a saved text file, is this possible?

Thanks to the both of you. This makes a bit more sense to me.

I wouldn't be able to use another program because I don't want to have a computer hooked up to the installation.