|
Answer» i have seen some progs that convert ur BAT file to a COM file and obiviously a COM file isnt readable much less editable. ANYWAYS i wuz wondering, i there another way to make a bat file not editable without changing it into a COM file?Well, you can attrib +r it, but that's easily defeated.yea. since folks could just open the properties of the bat file and change the attributes. any other ideas?If the file is on an NTFS partition, you can use NTFS permissions. awesome since i have win 2000 it should work ty GuruGaryThat is secure so long as the file stays on a machine that have you Admin rights to and the user does not. But if the file is copied to another machine then the ntfs permissions can be MODIFIED and the file editted.Some "batch to exe" or "batch to com" converters merely attach a header to the batch file which contains a batch interpreter. These often only understands a subset of the batch language. You can see the text of the batch file in a hex editor.
I think that if you want to write a program that you don't want people to modify, you have to learn a proper programming language.ah i hve an idea. ill write another bat file that ask for a password to edit the file. so the second bat file will house the first bat file LIKE a vault.
|