Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Copying and saving executable files
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
cavetroll




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Hackmaster




PostPosted: Thu Dec 14, 2006 9:42 pm   Post subject: (No 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.
uberwalla




PostPosted: Thu Dec 14, 2006 9:44 pm   Post subject: (No 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?
cavetroll




PostPosted: Thu Dec 14, 2006 9:46 pm   Post subject: (No 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.
cavetroll




PostPosted: Thu Dec 14, 2006 9:49 pm   Post subject: (No 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.
uberwalla




PostPosted: Thu Dec 14, 2006 9:50 pm   Post subject: (No 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?
cavetroll




PostPosted: Thu Dec 14, 2006 10:01 pm   Post subject: (No 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.
uberwalla




PostPosted: Thu Dec 14, 2006 10:06 pm   Post subject: (No 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.
Sponsor
Sponsor
Sponsor
sponsor
CodeMonkey2000




PostPosted: Thu Dec 14, 2006 10:51 pm   Post subject: (No subject)

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




PostPosted: Fri Dec 15, 2006 11:41 am   Post subject: (No subject)

Ok i got it to work thanks to all that assisted me with this problem.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 10 Posts ]
Jump to:   


Style:  
Search: