Batch File expert wanted.

mongoose

SOH-CM-2023
Some who knows the correct format for something like this

REN a file in a folder/file to r/folder/new name file

for instance
a file in C:\CFS3 ETO Expansion\dialogs which is controlled by a batch file in C:\CFS3 ETO Expansion

I have tried (with file type attached... file.xml)

REN dialogs\file dialogs\new name
REN \dialogs\file \dialogs\new name
REN file new name

since the bat file is in C:\CFS3 ETO Expansion main folder I assume it's not needed to add "C:\CFS3 ETO Expansion" any more than it is in other case such as "REN qclocations.xml 1945_qclocations.xml" etc.
otherwise do I have to put a new batch file in dialogs and call for a change of directory similar to the sounds and Global layer bats??
 
hi Mongoose,

not an expert but have dabbled with batch files. I would think that either the batch file needs to be located in the Dialogues folder, or the pathway needs to be set out - ie Ren dialogues\qclocations.xml....

Not sure if you need the dialogues folder refered to when specifying the new name.
 
I need to access it for changing the maps, See the thread on h2s. I suspect I will have to put it in the dialogs folder and add instructions to the masterstartup.bat

Problem solved by doing above!
 
Last edited:
Back
Top