Batch file experts here please! (compiling and linked files)

Associate
Joined
19 Jun 2003
Posts
1,680
Location
West Yorks, UK
Hi all,
I have a pretty complex batch file i've created that I am going to be putting on peoples PC's. I want to protect my work but still keep it flexible. I can't go into the full details, but I need the file to be protected from everyday users.

Therefore, i was going to compile it in an .exe file using one of the many free converters out there. However, I need to use variables in the file to control what happens, so was thinking of linking the batch file to a config file of sorts - a bit like having a config XML file for .NET app's.

Can anyone point me in the right direction? I can compile it fine, just can't work out how to keep it usable with variables/config file.

Matt
 
You can't compile a cmd file, all those "compilers" are doing is putting them into a extractable executable and your command file is being extracted into a temporary folder and then ran.
 
For my needs, that would be fine. I just want the everyday user to not be able to fiddle with the script.

Anyone know about how to link to a "config" file and use the data within it?

Matt
 
Back
Top Bottom