LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   windows and C/C++: read and write from usb strick (https://www.linuxquestions.org/questions/programming-9/windows-and-c-c-read-and-write-from-usb-strick-594336/)

kpachopoulos 10-24-2007 05:16 PM

windows and C/C++: read and write from usb strick
 
Hi,
can somebody point me to a link for reading and writing data to a USB stick from Windows by using C/C++? I have found some things, but they are about creating Windows USB drivers.

Thanks

theNbomr 10-24-2007 06:37 PM

Most USB sticks look like a filesystem partition, and as such, can be written/read using the usual file access semantics: open-read-write-seek-close...
--- rod.

ta0kira 10-26-2007 06:54 AM

Your problem will probably be knowing which file system is the USB device. That's best left up to the user as automation would be quite a bit more work than typing/clicking the name of the correct device.
ta0kira


All times are GMT -5. The time now is 09:39 PM.