Thread: 'Installing' to hard drive and 'Saving' to hard drive

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    'Installing' to hard drive and 'Saving' to hard drive

    I want to be able to install a program, or rather just create a folder that is used to hold saved games for a program. I just need to know how to have my program create the folder, and then write a file to that folder which is the saved game file. any help would be appreciated.

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    One way would to be able to use system commands......but I wanna know if there are any sites out there that have a list of the commands

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Try google, quite a few interesting and useful topics will come up. If you use MSVC++ then it comes with an InstallShield utility that should help as well.

    -Prelude
    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    3

    I hope this will help you

    Here is a way of creating folder....

    #include <stdlib.h>
    void main()
    {
    system ("md d:\\temp\\"); //Creates folder in D drive
    }

    Though this is not complete answer, i hope this will be useful for you.

    Happy Programming,
    Uday

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    249

    InstallShield that is the way

    InstallShield will allow you to make a setup pacage from your .exe file ... it is great... go to www.download.com look for a free ver. from InstallShield and you will find it...

    in the other hand you can creat help Files .hlp using MS. office 6
    in this way you will have a .hlp file for your project....

    You need it... you just start ... sogo for it ...
    C++
    The best

Popular pages Recent additions subscribe to a feed