Stop Editing Batch files...

S

sunny.it

Hello,

Can we stop the batch files being edited by any one else, like if there is a
batch file, we can simply right click and by selecting edit, it will open and
any one can see the text in it. Can we put a password on this thing so that
before opening, any one should be prompted for password if he opens the file
.... Or is there any other way we can stop this thing.
Bye.
 
P

Pegasus \(MVP\)

sunny.it said:
Hello,

Can we stop the batch files being edited by any one else, like if there is
a
batch file, we can simply right click and by selecting edit, it will open
and
any one can see the text in it. Can we put a password on this thing so
that
before opening, any one should be prompted for password if he opens the
file
... Or is there any other way we can stop this thing.
Bye.

You can set its NTFS permissions so that it is read-only, same as for any
other file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top