|"SET /P fname= Enter Filename:|
SET /P parameter= Enter Parameter:"
This is a problem as "set /p" is not present in Me, the only available(without copying the executable from elsewhere) alternative it choice, which only takes one character of input - not so good for file names(but can be done, I have a script that does this but is not pretty). Inversely choice is not present in nt, 2000 or xp (apparently it's in vista).
The easy solution would be to use paramers "yourbatch filename param2 param3 ect.", The %1 would be the filename and the other parameters would be %2, %3 and so on, but it would need you to start the script from the command line rather than double clicking on it(eg c:\>yourbatch filename otherstuff).
Failing that I would suggest you get a copy of command.com from Freedos (it must be from freedos because the freedos command.com supports set /p), rename it to something like "fdos.com" and put it into the same directory as the script in me. Then you would only need to add one line to the to of the script "if not "%os"=="Windows_NT" fdos.com" an extra exit at the end may also help.
Maybe someone else will have a more elegant solution (debug script?).