Okay, I have such a batchfile:

```
@title RUBY ;)
@set PATH=D:\Programming\Ruby22-x64\bin;%PATH%
@call cmd /K cd /D E:\RubyProgramming

```

that I use to facilitate running scripts without the need to navigate to the folder each time. The thing is that I usually run the very same command for hundreds of times for a given program that I am working on at any given time. For instance:

```
ruby rubyprogram.rb inputfile.txt outputfile.xml miscargument

```

Is there a way to make such a batch file that **types in** a command when you run it? Not **executes**, just type in, so that I press Enter to execute it and use ↑ up arrow to use it again in the cmd? I haven't been able to find a command that would allow this anywhere, but it would be useful if there was one.