NTBACKUP .bks file

G

Guest

I'm trying to make backups on the fly by creating my own .bks file. The
problem is that the .bks files appear to be some odd unicode file. I'm using
a custom VB 6 app to generate the .bks file. I can generate a unicode output
file, but NTBACKUP still doesn't want to accept it as a valid .bks file. Is
there some easy way to code it to output a file that NTBACKUP will accept as
a valid .bks file that doesn't involve hex editting?
 
P

Pegasus \(MVP\)

Hop said:
I'm trying to make backups on the fly by creating my own .bks file. The
problem is that the .bks files appear to be some odd unicode file. I'm using
a custom VB 6 app to generate the .bks file. I can generate a unicode output
file, but NTBACKUP still doesn't want to accept it as a valid .bks file. Is
there some easy way to code it to output a file that NTBACKUP will accept as
a valid .bks file that doesn't involve hex editting?

Under VB6 it should be fairly easy to convert the file to
unicode format. Just start it with $FF $FE, then make
every second byte $00. To see an example, use notepad.exe
to open an ASCII file, then save it in unicode format.
 
G

Guest

We found out it was easier to construct a valid file using VB .net instead of
VB 6, so that's what we did.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top