Request help with writing batch program
Could someone help me with writing a batch program. I need a batch program that will randomly select (and rename?) a file from a folder of files so that the generic file will be replaced and the newly selected file will run in its stead. Okay..confusing, it sounds. For example, in Silent Hunter, the Girl in Every Port MOD is a program (Batch?) which can be run which selects a JPG file from a folder of several hundred variously name files, apprently renames the selected file to the required default file name recognized by the game 'code', and the selected JPG Picture appears in-Game. If anyone understands what I am looking for, and could write such a program using some sort of "Demo-Filler" folder and file names, I could possibly adapt the folder/file names to my needs. (If I can find out how to open and read/rewrite such a batch.exe or *.Bat file/program)
Any help or tutorial guidance will be greatly appreciated.
|