Patent ID: 7636726

Claim:
An electronic apparatus which records data on a replaceable recording medium comprising: a folder information recording device which records information of folder structure created in the recording medium; a detecting device which detects replacement of the recording medium; a selecting device which, in the case where the replacement of the recording medium has been detected by the detecting device, causes selection to be made as to whether or not folders of the same structure as folders existing in the replaced recording medium are to be created in the replacing recording medium; a device which, when the selecting device selects creation of the folders of the same structure as the folders created in the replaced recording medium in the replacing recording medium, determines whether the folders are created in the replacing recording medium; a device which formats the replacing recording medium if it is determined that the folders are created in the replacing recording medium; a device which creates the folders of the same structure as the folders existing in the replaced recording medium in the formatted replacing recording medium on the basis of information recorded in the folder information recording device, wherein content of the folders existing in the replaced recording medium is not copied; a device which deletes the information recorded in the folder information recording device in the case where the selection is made by the selecting device not to create the folders of the same structure as the folders existing in the replaced recording medium in the replacing recording medium; a device which determines whether the folders are created in the replacing recording medium in the case where the selection is made by the selecting device not to create the folders of the same structure as the folders existing in the replaced recording medium in the replacing recording medium; a device which causes selection to be made as to whether to use the folders created in the replacing recording medium as-is when determined that the folders are created in the replacing recording medium; a device which records the information of the folder structure created in the replacing recording medium in the folder information recording device in the case where the selection is made to use the folders created in the replacing recording medium as-is; a device which formats the replacing recording medium in the case where the selection is made not to use the folders created in the replacing recording medium as-is and then newly creates folders in the replacing recording medium and records the information of the folder structure created in the recording medium in the folder information recording device; and a device which newly creates folders in the replacing recording medium and records the information of the folder structure existing in the recording medium in the folder information recording device.