BAT program questions, not a programer here

Nanan

[H]ard|Gawd
Joined
Aug 29, 2007
Messages
1,273
Hello, I have some questions that I am sure someone here could answer.

I would like to make or have made a .bat progy that can do this simple list of steps.

Read a specific .ini file and do the following
read table index then find and rename corresponding file to the pointer name then delete that line out of the ini.

The destination and source folders can be the same for this but might be expanded upon later.

The specific ini is called cache.ini which looks like this

Code:
[cache]
xjdjknwer90234=battlemod.u
nwerj2nm34l29=dualenforcer.u
...

I did something like this in a C programing class about 10 years ago but I cant for the life of me remember how to program.
 
a windows bat file is going to be a pain in the but to do that. Use perl or something else.
 
a windows bat file is going to be a pain in the but to do that. Use perl or something else.
I agree. A batch file could be done, but will likely rely on some extra "helper" calls to other COM/EXE files and/or other BAT files. Could easily wind being a messy chain. I think that a client-side programmed app would be easier to create, troubleshoot, and maintain/modify in the future.
 
Back
Top