Computer Science Canada

Copying and saving executable files

Author:  cavetroll [ Thu Dec 14, 2006 9:36 pm ]
Post subject:  Copying and saving executable files

I am creating a program where I want to allow the user to unlock otherwise hidden executable files. I am wondering how I would copy the executable files to be available for the user to run.

Author:  Hackmaster [ Thu Dec 14, 2006 9:42 pm ]
Post subject: 

Well, it depends on what exactly you are trying to hide. if it's unlockables, or bonus matrieal within the game, or whatever the program is, why don't you just create a boolean variable that is true when they've unlocked it, and save it to a file? It would be really helpful here to know about what type of program it is an what you are trying to hide here, though.

Author:  uberwalla [ Thu Dec 14, 2006 9:44 pm ]
Post subject: 

can u be more specific of what you are trying to accomplish? do u mean if u hide the c: folder and then unhide through turing type of thing?

Author:  cavetroll [ Thu Dec 14, 2006 9:46 pm ]
Post subject: 

Ya its a riddle program. When the user gets to a certain level the file (an executable file for a game) would be shown in a folder a that can now be played by the user.

Author:  cavetroll [ Thu Dec 14, 2006 9:49 pm ]
Post subject: 

uberwalla wrote:
can u be more specific of what you are trying to accomplish? do u mean if u hide the c: folder and then unhide through turing type of thing?


Ya but only one game at a time I have 5 mini games.

Author:  uberwalla [ Thu Dec 14, 2006 9:50 pm ]
Post subject: 

ok sorry i am still a little confused i got that u want them to be able to unlock something. and that u want a folder hidden.

so what im getting is that u have a encrypted folder or some hidden folder thing that when they get to a certain lvl it unlocks? then appears and they can see the files?

if thats the case im not sure u can hide a folder through turing. i know u can encrypt and decrypt text though.
another possibility in this case would be to do something like pick a file hosting site and if they unlock something then send them a link to the file?

Author:  cavetroll [ Thu Dec 14, 2006 10:01 pm ]
Post subject: 

What I'm trying to do is copy the file from the hidden folder into an accessible folder so the user can play it. I think you can do that. If not thanks anyway to all that helped me.

Author:  uberwalla [ Thu Dec 14, 2006 10:06 pm ]
Post subject: 

o my bad. i went totally wack off what u were trying to say. u can use either the File commands to copy a certain file. or the Dir commands to move the whole folder out of hidding. i dont know all the commands off by heart what they do but take a look at turing reference or take a look in tutorials section. (use search or Turing Walkthrough) there is for sure a tut.

Author:  CodeMonkey2000 [ Thu Dec 14, 2006 10:51 pm ]
Post subject: 

im pretty sure you cant do that. but i might be wrong.

Author:  cavetroll [ Fri Dec 15, 2006 11:41 am ]
Post subject: 

Ok i got it to work thanks to all that assisted me with this problem.


: