Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I realize this isn't strictly a programming question, but I have a file with the extension .bak, and the file starts with "TAPE". What program produced this?

share|improve this question

migrated from stackoverflow.com Dec 6 '09 at 6:20

This question came from our site for professional and enthusiast programmers.

5 Answers 5

The file is in Microsoft Tape Format (MTF). It can be a backup of a Microsoft SQL Server's database.

share|improve this answer

I recently received a file that matches this description. Further investigation suggests it was produced by Microsoft SQL Server's backup command.

share|improve this answer

The extension .bak is commonly used by multiple programs and persons to indicate a backup of some kind. Since multiple sources could create the backup the file extension is not enough to identify the contents.

You could try opening the file in notepad and checking for a Magic Number.

Sometimes it's a direct copy of a file (readme.txt -> readme.bak) In this case I prefer to append the .bak extension instead of removing the existing one (readme.txt.bak)

share|improve this answer

One of many programs could have produced it. The file extension .bak means "backup". What directory is it in? That may be a clue.

share|improve this answer

Probably this one here:

#include <stdio.h>
int main (void) {
    FILE *fh = fopen ("TAPExxx.bak", "w");
    if (fh != NULL)
        fclose (fh);
    }
    return 0;
}

Seriously, it could be any program :-)

But, since this is not actually programming related, it belongs over on SU.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.