Hello,
What can I use on Vista x64 instead partcopy (as I can't find old version, and the new one does not allow to write directly to floppy) and instead of debug.exe, which doesn't exist anymore?
What to use on Vista x64
Moderator:Moderators
Re: What to use on Vista x64
Make your own application to do this with WIN32. That is what I did. It is really easy. Just simply open the device like a file ("\\\\.\\A:"). Then write to it.
Re: What to use on Vista x64
Alright, thats bootloader, what about system files? just put it randomly?
Thanks a lot for reply.
Thanks a lot for reply.
Re: What to use on Vista x64
To put on all of the other files, just copy it like any other file. Then use a filesystem minidriver to find the file and load it.
Re: What to use on Vista x64
You sure it should look like this: "\\\\.\\A:" ?
For me it always returns error.
A: device with floppy is present.
For me it always returns error.
Code: Select all
#include <iostream>
#include <fstream>
using namespace std;
char a='k';
int main()
{
fstream stream;
stream.open( "\\\\.\\A:", ios::binary );
if( stream.good() == false )
{
cout <<"Error";
}
for( int i = 0 ; i < 512 ; i++ )
{
stream >> a;
//cout << a;
}
stream.close();
cin.get();
return 0;
}
Re: What to use on Vista x64
Remember that if Windows is using unicode, you need to use an L before the quotes (L"\\\\.\\A:").
I don't know if this works with fstreams. Include "Windows.h" and use the CreateFile function (with the FileExisting bit set). Then read and write with ReadFile() and WriteFile() functions. These functions are documented on the MSDN. Don't use IOSTREAM.
I don't know if this works with fstreams. Include "Windows.h" and use the CreateFile function (with the FileExisting bit set). Then read and write with ReadFile() and WriteFile() functions. These functions are documented on the MSDN. Don't use IOSTREAM.