Hi,I would be grateful if anyone could tell me if there is any way to stop a batch files code being edited, while allowing the code to run. I know that this is possible without use of user account policies or restrictions. Thanks in advance
A batch file compiler? click here
In command prompt type attrib filename.bat R
Or stick "bat to exe" into Google.
Switcher: Thanks for replying. I tried what you said and got this...D:\>attrib test.bat RParameter format not correct -Any ideas?
Giving the file the attribute R will make it read only. You could also give H to make it hidden and S to make it a system file. i.e Attrib x.bat SHRTo remove attrib so that you can edit it use -R
Switcher: Thanks but is going to be too easy to get round. I'm looking at the link provided by MJA (thanks for that by the way), and its looking promising. I'll get bact to youThanks for your posts
Yeah, that program looks good. Do you know if there is a similer total freeware program available?
Sorry getting rusty should be Attrib +r :\test.batassuming file is in root directory of d:
Mistakes again attrib +r d:\test.bat will make it read only
That was my second post, dalek"Or stick "bat to exe" into Google"there's a few of them there but I didn't get time to look through them.
This thread is now locked and can not be replied to.
Best phone camera 2017
Stunning new film posters by Hattie Stewart, Joe Cruz & more
iPad Pro 10.5in (2017) review
28 astuces pour profiter au mieux de votre iPhone
© Copyright 2017 IDG UK. All Rights Reserved.