hi all, i was asking my lecturer about how to make a batch file which can only be executed and not viewed and he told me that i should try to package it, does anyone know anything about that?

Which operating system is this running on? You could simply set file permissions based on the user account executing the file . . . how to do that depends on the operating system.

im using windows 7. i know how to set file permissions.

OK - why would file permissions not work to achieve your goal?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.