Results 1 to 10 of 10

Thread: File & Directory Copy

  1. #1

    Thread Starter
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    File & Directory Copy

    http://ranvik.net/totalcopy/

    This particular app is cool. How does a Directory's files get stored. Do you think he does a list of the contents with an absolute path, counts the items for the progress bar, then goes through the list using a batch command like xcopy c:\re.txt d:\car\ /h/e/k/s or something.

    I'm thinking of doing a samilar program, where the %1(directory) will be passed to the program, then it determines the files,etc but how would one specify the paste directory?

    is anything above making Sense?
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

  2. #2
    Hyperactive Member imadthemad's Avatar
    Join Date
    May 2005
    Posts
    344

    Re: File & Directory Copy

    yes actually i am currently working on a program like it(a copier i call MAD-Copy)
    it is one of my nice progz it is really cool its not done yet im working with the installer and fixing some graphics etc...
    To copy folders, my program gets this list of all subfolders in a folder, and loops through all folders with that command by getting the subfolders of the subfolders etc....
    It stores the directory paths in an array list and then copies the files folder by folder.
    It is nice i will show u a sneak preview of what i have done in this screenshot attached
    Attached Images Attached Images  

  3. #3

    Thread Starter
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    Re: File & Directory Copy

    Quote Originally Posted by imadthemad
    yes actually i am currently working on a program like it(a copier i call MAD-Copy)
    it is one of my nice progz it is really cool its not done yet im working with the installer and fixing some graphics etc...
    To copy folders, my program gets this list of all subfolders in a folder, and loops through all folders with that command by getting the subfolders of the subfolders etc....
    It stores the directory paths in an array list and then copies the files folder by folder.
    It is nice i will show u a sneak preview of what i have done in this screenshot attached
    We're BEST FRIENDS as from NOW

    Are you gonna sell it or something, if so will you refer me to the site that guided you, that is similar (90%) to what I want to Make. Very Smart Design by the way.
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

  4. #4

    Thread Starter
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    Re: File & Directory Copy

    Forgot to mention, why are there 2 Progress Bars? Does the 2nd one show the Previous File Copied already?
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

  5. #5
    Hyperactive Member imadthemad's Avatar
    Join Date
    May 2005
    Posts
    344

    Re: File & Directory Copy

    LOL sell it?
    KEWL i am a 15 year old that made a sellable a program!
    AND I MADE PALS WITH A PROGRAMMER!
    is it legal for me to sell it? how do i sell it? how much money can i get out of it?
    I will let you buy it and sell it and give me 55%
    the top progressbar shows overall percentage of the folder being copied,
    the bottom progressbar shows percentage of the current file being copied
    the look rocks but here are the problems i am running into:
    1)I am using a registered animation ocx and i dont know if others can use it
    2)My prog uses up 30mb of memory but works fast and from what i read from a thread that is not the real memory usage. It does not slow down MY computer anyways.
    3)I made it on 800x600 screen resolution and it looks different on other screen resolutions
    e.g. when it is maximized, only 1\4 of the screen has controls on it

    That is why i am thinking of doing 2 things:
    1)putting a notifyicon and not showing it in the taskbar
    2)making it fixed not sizeable

    I did learn a few tricks with the installer though. I put a code so that it puts some registry shell commands so that when u right click a folder u can "Copy with MAD-Copy"
    Also i put desktop shortcuts and i registered fonts WITHOUT PUTTING THEM IN FONTS FOLDER using the installer.

    Tx for liking my prog

  6. #6

    Thread Starter
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    Lightbulb Re: File & Directory Copy

    Quote Originally Posted by imadthemad
    LOL sell it?
    KEWL i am a 15 year old that made a sellable a program!
    AND I MADE PALS WITH A PROGRAMMER!
    is it legal for me to sell it? how do i sell it? how much money can i get out of it?

    If you Aint Selling it, Share it with us (thats What I meant Earlier)
    I Still cant find the Code here or on another Forum for the Copy iteration.

    You used a For each in the statement Right?

    The Resizable part can be found in the Forms properties, Under the Grid = Fixed3D and allow Resize = False, I Think - But i'm 100% Sure its a Property Setting.
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

  7. #7
    Hyperactive Member imadthemad's Avatar
    Join Date
    May 2005
    Posts
    344

    Re: File & Directory Copy

    i know about the resizable part but thx anyway
    for the code, do use a for next statement and make it loop itself by declaring the same statement all over again for each folder and subfolder etc...
    and make the whole sequence initiated by a thread so ur prog doesnt stop responding
    i will post the code but not yet when i finish it with the setup
    i will post the setup first and then after my prog is rated i will put the code

  8. #8

    Thread Starter
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    Re: File & Directory Copy

    OK Then, I'll Put a Reminder for Calling you in two Weeks Time...

    Who's Gonna Rate it? Where will you Post it?
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

  9. #9
    Hyperactive Member imadthemad's Avatar
    Join Date
    May 2005
    Posts
    344

    Re: File & Directory Copy

    Quote Originally Posted by Codehammer
    OK Then, I'll Put a Reminder for Calling you in two Weeks Time...

    Who's Gonna Rate it? Where will you Post it?
    I will post it in the codebank forum somewhere.
    And did i say 2 weeks?
    i meant A.S.A.P. which can be tomorrow or 2 weeks

  10. #10

    Thread Starter
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    Re: File & Directory Copy

    PM me When you Do Please.
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width