Newbie Help Floppy Problem 
Author Message
 Newbie Help Floppy Problem

hi
i need to get a program to read the infomation from a 1.44mb floppy and
store the info in a file so that i can read it back again on another floppy.
does any one know how to read the floppy into a buffer and  store it to the
hard drive and then read it back from hard drive to the floppy
is this possible
please help


Fri, 06 Sep 2002 03:00:00 GMT  
 Newbie Help Floppy Problem
if it is just copying the file, use
FileCopy source, destination
were source is "A:\file.ext" end destination "C:\file.ext" or something

If you must change any data use
Open "sourcefile.ext" for input as 1
Open "destination.ext" for output as 2
While Not Eof(1)
    Line Input #1, tmp$
    Print #2, tmp$
Wend

Between Input and Print you can change data

If you want to read in Binary mode:
Open "sourcefile.ext" for binary access read as 1
Open "destination.ext" for binary access write as 2
Dim tmp string * 1
For i =  1 to Lof(1)
    Get 1, i, tmp
    Put 2, i, tmp
Next

Between Get   and Put   you can change data

JD


Quote:
> hi
> i need to get a program to read the infomation from a 1.44mb floppy and
> store the info in a file so that i can read it back again on another
floppy.
> does any one know how to read the floppy into a buffer and  store it to
the
> hard drive and then read it back from hard drive to the floppy
> is this possible
> please help



Fri, 06 Sep 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Newbie Backup Database to Floppy

2. Newbie Write to Floppy

3. Newbie Write to Floppy

4. Newbie Backup Database to Floppy

5. VB4:Newbie - Floppy Disk Formatting

6. HELP - Newbie needs help on simple problem!

7. Help Pls - Saving Crystal Rpts to floppy

8. Help!! storing a form in a floppy

9. Help: Floppy contents in Windows

10. HELP !!! (Preparing the distribution floppy for VB4)

11. Need Help on how to format a floppy disk

12. Help!! storing a form in a floppy

 

 
Powered by phpBB® Forum Software