I plan to have many different text files in a folder... and I want to be able to run each one as a command whenever I want, just by typing in the name of the file... I suppose I could do the files as batch files instead, now that I think about it.. Although I'm still curious as to the process for it. Had some good comments thus far, thanks guys.
You cannot execute text files without changing the text file association ... perl will execute text files (or any files, perl doesn't care about file extension
The batch processor generally will refuse to process text files, it cares about file extension