|
Answer» Sir, I have CREATED a batch file having number of commands in it. But my problem is that any of my students modify it. and to correct it, I copy its content from .txt files placed any other place in computer. I want to make it encrypted or exe type file of which contents are not in readabel format. Can I make it. If yes, Please help me
Yours' sincerely Lohani [emailprotected]
email addy removed to prevent SPAM.Well you can have a series of batch files each being executed by another, and all of them located in different folders. EG.
Bat1.bat: Your script here.
Bat2.bat Start bat1.bat
And finally the last one will be the one your students run. They would have to be persistant to follow that around. you could simply re-examine their access RIGHTS- GIVE them read access but not write access, for example.Set the batch file to have read-only and system attributes. The system attribute prevents them from removing the read only status as system or hidden stati must be removed first. Quote from: Helpmeh on September 09, 2009, 01:44:05 PM Set the batch file to have read-only and system attributes. The system attribute prevents them from removing the read only status as system or hidden stati must be removed first.
not file attributes, security attributes.
The file owner- them - can remove write access to the file to the "Everyone" group.Ohh. Right! I KNEW that lol!
|