Read or write directly from the Hard drive?

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Evan
Coder
Posts: 21
Joined: Wed Dec 27, 2006 6:03 pm
Location: Weatherford TX

Read or write directly from the Hard drive?

Post by Evan »

How can i read or write read or write directly from the Hard drive?
Evan Hurd
Anonymous

Post by Anonymous »

Well you could open a text document, edit it, and then save it. Though I don't think thats what you mean. Could you please give some more information, such as, what you need to know, what it is for, what problems have you had, something other than a one line question. Then someone might be able to help.
Evan
Coder
Posts: 21
Joined: Wed Dec 27, 2006 6:03 pm
Location: Weatherford TX

Read or write directly from the Hard drive?

Post by Evan »

well!
what i want is to directly access the data on a drive because the OPEN statement goes through windows.
I think

Thanks
Evan Hurd
Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post by Antoni »

What you will achieve is to ruin your hard disk and have to format it.
If you really want to try something like that, do it with an unused second drive or a floppy. Never with the drive where your OS is!!
Ralph
Veteran
Posts: 148
Joined: Fri Feb 09, 2007 3:10 pm
Location: Katy, Texas

Reading the memory

Post by Ralph »

Go to Help, Index, P, and double click on PEEK. But, PLEASE! don't mess with POKE!!!
Ralph, with QuickBASIC 4.5, operating under Windows XP, wiht anHP LaserJet 4L Printer. Bilingual in English/Spanish
Post Reply