Protect contents of a Script or batch file from being read.

B

bayot

Please, how best can I prevent the contents of a valuable proprietary Windows
NT Script file (.cmd) or MS-DOS Batch file (.bat) which I have written from
being read by unauthorized end users?

Thank you.
 
S

Shenan Stanley

bayot said:
Please, how best can I prevent the contents of a valuable
proprietary Windows NT Script file (.cmd) or MS-DOS Batch file
(.bat) which I have written from being read by unauthorized end
users?

In reality?

Don't use batch/cmd scripts. They are scripts, made to be read/interpretted
by the OS - they are basically text files and anythig you do to 'protect
them' is really more trouble than it is worth and futile in the end.
 
B

bayot

Thank you very much. Unfortunately, the special application I am developing
demands that I must use a cmd script, please.
 
1

123Jim

bayot said:
Please, how best can I prevent the contents of a valuable proprietary
Windows
NT Script file (.cmd) or MS-DOS Batch file (.bat) which I have written
from
being read by unauthorized end users?

Thank you.

Why not convert the batch file into an executable file?
I searched with "compile a batch file" and found this at the top of the
list: http://www.abyssmedia.com/quickbfc/

There may be other programs that suite your needs better, I have not tried
them.
 
P

Patrick Keenan

bayot said:
Thank you very much. Unfortunately, the special application I am
developing
demands that I must use a cmd script, please.

Can you use a script that just calls an executable that can't be read?

HTH
-pk
 

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