Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Encrypt a .bat file ?

26 Nov 2010   #1

Windows 7 Professionals 64bit
 
 
Encrypt a .bat file ?

Does anyone know if its possible to encrypt a .bat file so when you edit the file it won't be readable ?

My System SpecsSystem Spec
.

26 Nov 2010   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Jon,

Yes, you can use the Encrypting File System (EFS) in Windows 7 to encrypt a .bat file.

Hope this helps,
Shawn
My System SpecsSystem Spec
26 Nov 2010   #3

ultimate 64 sp1
 
 

what happens if somebody copies the batch file onto another os?

i guess you'll be able to read/edit it then?
My System SpecsSystem Spec
.


26 Nov 2010   #4

Windows 7 Ultimate x86
 
 

Is the emphasis on encryption or is it enough to prevent "average Joes" from editing/reading the batch?
In that case use a Batch compiler to convert the batch into an EXE file. It makes an 85kb EXE out of a 4kb BAT
but this exe is virtually un-editable without an extensive knowledge in certain programming languages.
Who has said knowledge gets around your BAT anyways

-DG
My System SpecsSystem Spec
26 Nov 2010   #5

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Maybe you could just zip up the files with winrar or 7zip or whatever and place a password.
My System SpecsSystem Spec
26 Nov 2010   #6

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by SledgeDG View Post
Is the emphasis on encryption or is it enough to prevent "average Joes" from editing/reading the batch?
In that case use a Batch compiler to convert the batch into an EXE file. It makes an 85kb EXE out of a 4kb BAT
but this exe is virtually un-editable without an extensive knowledge in certain programming languages.
Who has said knowledge gets around your BAT anyways

-DG
Wow, cheers for this, i really like the .exe regardless of stopping people from editing
My System SpecsSystem Spec
Reply

 Encrypt a .bat file ?





Thread Tools



Similar help and support threads for2: Encrypt a .bat file ?
Thread Forum
How to encrypt .txt file System Security
Solved How to encrypt .zip file that will be readable from the program System Security
Solved How do I encrypt my HDD? And also need more help. System Security
How to encrypt a file or folder on Win 7 Pro ? Performance & Maintenance
Lock and Encrypt Files Win 7 Software
Encrypt General Discussion
Which folders to encrypt with EFS System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:35 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33