Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I want to hide a file on cd (not using attribute +h).I want produce a file to be really hidden which anyone can not access and open it.
May anybody help me?HYPERNOVA

Hi
Um, what I think you want is to lock your file with encryption. Only those with the "key" can have access. Problem is you need a very long key thesedays. Short keys however deter most would be snoops.

Hi ANENEFAN
Thanks for your reply.I want to explain details:
I have written a "batch" file like "autoexec.bat". This file refers to another file (for example: "anenefan.exe") in its code.I want to hide or encrypt anenefan.exe that the autoexec.bat can refer to it and use it, but the user can not browse or run this file(in windows) and can not see it even with "dir /a" (in dos) ;by the way both of these files are on a CD.
You recommended me to use a lock and encryption with a key, but i don't know how can i do this?
thx.HYPERNOVA

Hi
Ok - thats makes it harder.
Putting a file in plain view but encrypted, is still the best way. However, trying to use straight foward encryption, from a batch file presents problems, as then somewhere you would have to record the key for it to be "passed", so your batch could access the program.
So you only want the file available when you run the batch and at no other time.Well I can't think of an easy sure fire way, so hopefully someone else can suggest the way forward.
I am not sure if you can batch code to access a cd on a sector basis, and write the file outside the normal file system. If that did work, someone with the right tools would find it.

I'd suggest a different approach altogether - use AutoIt script which can be encrypted to be unreadable and yet still run. Encrypted AutoIt script engine could run your unviewable script file which passes an encryption key to an unzip program that then unzips the zipped and encrypted 2nd executable to run in the temp folder where it is deleted as soon as used?
The encrypted zip file would have to be in plain site so that your batch file and the unzip program can access it though.
http://www.hiddensoft.com/AutoIt/Not a DOS question, BTW.

Hi
Ummm It was a dos question. It suspect the batch file on cd will need to work in pure dos or the underlying dos of 9x.
Is the cd going to be bootable BTW?

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |