moving files - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

moving files

BravoknightBravoknight Posts: 35Member
how do i copy a file from the A: Drive to the C: Drive (C: Drive being the main hard drive)

Comments

  • PrzemekG_PrzemekG_ Posts: 595Member
    open the source file
    create the output file and open it
    copy the content of the source to destination file
    delete the source file

    it's realy easy in qb

  • KDivad LeahcimKDivad Leahcim Posts: 3,948Member
    : open the source file
    : create the output file and open it
    : copy the content of the source to destination file
    : delete the source file
    :
    : it's realy easy in qb
    :
    :

    Umm...
    [code]
    Shell "copy source.file destination.file"
    [/code]
    Use Shell and DOS's Del command to remove the old one if you want.
  • PrzemekG_PrzemekG_ Posts: 595Member
    I was talking of making a real COPY and REN programs
  • KDivad LeahcimKDivad Leahcim Posts: 3,948Member
    : I was talking of making a real COPY and REN programs
    :

    True, I was only providing another option.
Sign In or Register to comment.