I'm trying to write a .bat based application that will FTP get some files from another machine. First question, is it possible to use an environment variable in a .scr file? Here is what I'm doing:
set %filename% = example.log
FTP -n -s:doffus.scr <host>
While in the doffus.scr:
Second question, would you do it this way, or is there a better way? I would like to use the .bat approach.