File Extension Guide

What is a Marg Data File?

Marg ERP, the billing and accounting software from Marg Compusoft, keeps every table of a company in its own file, called a Marg data file. There is no single file extension. The extension is a short code, for example a01, where the letter names the company and the number names its period. A company folder therefore contains dozens of these files.

Accounting Data 🗂️ One File per Table 🔤 Letter = Company 📁 Data Folder
.a01

Company Table File

Made by:Marg Compusoft
Name pattern:table.a01
Letter:Company
Number:Period slot
Company list:snmanrc1.ini
Excel:Not a workbook

📖 What is a Marg Data File?

Every Marg data file stores one table of one company. The table can be the accounts, the voucher entries, the bills, the items or the outstanding list. Marg keeps all of them together in a folder named Data. A company with a full set of books has dozens of these files.

Marg Care, the vendor's help site, lists the database files by name and explains how to repair them. Univik restored two of the vendor's demo companies on a Windows PC in October 2026, Demo Accounting and Demo Pharma Distribution. The software created 30 table files for every company, and Univik checked the folder as it was left.

Marg ERP is sold to pharma, FMCG and retail distributors in India, and its tables carry batch, expiry, MRP and drug licence fields next to the usual ledger columns.

One rule to remember

Close the software on every PC. Copy the full install folder before you repair, move or open anything. Marg Care gives the same first step in its repair articles. Work on the copy and the original stays as it is.

🔎 Which Marg File Do I Have?

Every file name starts with a table name before the dot, and that name tells you what the file stores. Find your file name among the cards below.

Accounts

order.a01

Ledger master with parties, banks and expense heads, plus opening, debit, credit and balance. The name suggests sales orders, but the vendor's file list calls it the ledger master.

Data\order.a01
Entries

gledger.a01

Account voucher entries. Every row is one debit or credit leg with a date, an account, a narration and the user who entered it.

Data\gledger.a01
Bills

mdis.a01 and dis.a01

In the folder Univik checked, mdis stores the bill totals with tax, discount and round-off. The dis file stores the item lines of every bill with batch, quantity and rate.

Data\mdis.a01, dis.a01
Stock

pro.a01 and probat.a01

Item master and batch-wise stock. Batch number, expiry date and MRP sit in the batch file.

Data\pro.a01, probat.a01
Outstanding

pendings.a01

Bill-wise outstanding details for receivables and payables, with bill dates, due dates and pending amounts.

Data\pendings.a01
Company lists

snmanrc1.ini and snmanri1.ini

Small files that name the companies and the periods. The first lists companies and the second lists the date range of every period.

Data\snmanrc1.ini, snmanri1.ini

Backup files are a separate case. Any file that ends in .MBK is a Marg backup, not a table. What is an MBK File? explains it.

🗂️ What is Inside a Marg Data Folder?

Marg ERP installs to a folder like C:\MARGERP, and the program is Margwin.exe. Companies and periods live under one sub-folder named Data. Univik saw this structure on a test PC, trimmed here to a few files.

# An install folder

C:\MARGERP
├── Margwin.exe   # the program
├── Data   # every company and period
│   ├── order.a01   # accounts of company A
│   ├── gledger.a01   # entries of company A
│   ├── order.b01   # accounts of company B
│   ├── snmanrc1.ini   # company list
│   └── snmanri1.ini   # period list
└── System   # program files

Marg can move the Data folder to another drive from inside the software, so a business can keep it somewhere else. Univik Software looks for Margwin.exe on the fixed drives and also lets you choose the Data folder by hand.

Our verdict is to treat the Data folder as the company. A single table is useless without its neighbours, because the entries point to accounts by code and the bills point to items by code. Copy the full folder and work on the copy.

🔤 What Do Marg File Names Like a01 Mean?

Every Marg data file name has a table name, a dot, one company letter and a two-digit period number. The extension is not a year and not a file format.

File nameTableCompanyPeriod slot
order.a01orderA01
gledger.b01gledgerB01
pro.c01proC01

Do not treat a01, b01 and c01 as three years. In a three-company folder that Univik checked, they were three separate companies. Companies A and B both covered 1 April 2025 to 31 March 2026. Company C covered 1 April 2026 to 31 March 2027. Every company starts at period 01, and a later period of the same company takes the next number.

Period dates are not in the file name. Marg stores them in its own period list, snmanri1.ini, and the company names in snmanrc1.ini. Software that ignores those two files cannot tell which company a letter belongs to.

🧱 Which Tables Sit Inside a Marg Data Folder?

Marg's published file list and the sample folders Univik checked give these roles. Names in the left column are the file stems before the dot.

TableWhat it stores
orderAccount master with name, address, GSTIN, drug licence, opening, debit, credit and balance
acgroupAccount groups and their totals
gledgerVoucher entries, one row per debit or credit leg
glmonthMonth-wise debit and credit per account, a cross-check for the entries
mdis and disBill totals and bill item lines
pro and probatItems, and batches with expiry and MRP
pendingsOutstanding bills with due dates
saletypeCompany details plus small lookup lists like category and series
mdocDocuments attached to vouchers and bill formats

Some columns matter to auditors. Rows in the entry and bill tables record the user who entered the row, the user who last changed it and the PC name. A deleted row stays in the file, marked as deleted, until the data is cleaned. The file stores neither the time of the deletion nor the value a field had before an edit.

💾 How Does Marg Back Up and Restore Data?

Marg offers several kinds of backup. Marg Care documents the Financial Year backup, the Server backup and the IMP backup. The steps below come from its article How to recover Order file in Marg Software?

TaskHow Marg does it
Backup on exitPress Esc at the gateway and choose to save and quit. The backup window asks for the financial year or company
Restore after exitAt the recover prompt, point to the backup you want. Then start the software and open File maintenance
Server backupSeparate restore method for multi-user set-ups. See How to Restore Server Backup in Marg Software?
Backup fileEnds in .MBK. See What is an MBK File?

Keep a backup on a second drive or on another PC. A backup that sits beside the data shares the fate of the disk.

⚠️ How Do You Repair a Marg Data Folder?

Both rows come from Marg Care, and both fixes need a recent backup.

SymptomRemedy in Marg Care
Damaged Order file, or ledger balances that do not matchCopy the install folder, set the bad file aside, then restore a backup through the exit prompt (How to recover Order file in Marg Software?)
Restore alert that shows No Data FoundMarg Care gives two causes, a damaged data file or built-up temporary files. Retake the backup or clear the CDX and temp files (If No Data Found / Transaction file not found alert appears while restoring financial year backup then how to resolve it in Marg ERP Software?)

Without a usable backup, the table files themselves are the only source. Univik Marg Data Recovery Software takes in a copy of the damaged folder and marks how far to trust every record. Steps are in the blog Marg Data Corrupted? How to Get Your Entries Out

📂 How Do You Open a Marg Data File?

Choose the method that fits what you have on hand.

  1. With the software installed. Open the company from the gateway. If the folder moved, point the software at it with the Change Data Directory option first.
  2. With a backup. Restore it through the recover prompt, then open File maintenance.
  3. With no Marg installed. Univik Marg Data Viewer works from a Data folder on a Windows PC and never changes the source.
Choose a company screen in Univik Marg Data Viewer showing UNIVIK PHARMA DISTRIBUTION, data set a01, with record counts
Chooser screen names the company, the data set a01 and the record counts after a Data folder is selected.

Microsoft Excel does not open these files as workbooks. Univik Marg Data Converter outputs the accounts, bills and items to PDF, Excel, CSV or JSON, plus Tally XML and a BUSY Excel set. Univik Marg Data Forensic Analyzer lists deleted and changed records with the user and PC names.

Reports inside Marg go to Excel one at a time. Under Utilities there is also a Tally and BUSY data transfer option. Marg Care describes it in How to Export Marg Data and Import in Tally Prime Software? That method needs Marg to be started with the company data open.

⚔️ How Do Marg Files Compare?

FileContentsCreated byViewed with
table.a01One table of one company and periodMarg while you workMarg or a data viewer
snmanrc1.iniCompany listMargMarg or a data viewer
snmanri1.iniPeriod listMargMarg or a data viewer
.MBKBackup of a companyBackup optionRestore option
Tally exportMasters and day bookUtilities menuTallyPrime import
Excel reportOne reportAny reportExcel

Marg Care's Tally article above and Techjockey's How to Export Selected Sale Return Entry in Excel Format in Marg Software? are the sources for the Tally and Excel rows.

❓ Marg Data File Questions

Every Marg data file is one table of one company, for example the account master or the voucher entries. The software keeps every table in a separate file inside its Data folder. The extension is a code made of a company letter and a period number.

order.a01 is the order table of company A, period 01. The order table is the ledger master, so the file lists every account with its opening balance, debit, credit and closing balance. It does not store sales orders. The letter is the company and not a year, so a01, b01 and c01 can be three separate companies.

Marg stores its data in a folder named Data inside the install folder, for example C:\MARGERP\Data. Every company and period sits in that one folder. Marg can move the folder to another drive, so a business can keep it elsewhere.

They are small files in the Data folder. The first lists the companies and the second lists the periods with their start and end dates. Software needs both to connect a letter like b to a company name and a period slot to its dates.

Not directly. Excel does not open these table files as workbooks. Reports inside Marg go to Excel one at a time. Univik Marg Data Converter outputs the full set of accounts, bills and items to PDF, Excel, CSV or JSON.

Use software that understands the tables. Univik Marg Data Viewer opens a Data folder on a Windows PC with no Marg installed. It parses a copy of the files and never changes the originals.

Yes, for a while. A deleted row stays in the file, marked as deleted, until the data is cleaned. The file stores neither the time of the deletion nor the value a field had before an edit. Univik Marg Data Forensic Analyzer lists the deleted rows still present.

Marg Care tells users to remove temporary and CDX files when a restore fails, so the indexes are refreshed. Copy the full folder first and work on the copy. CDX files store index keys and no accounting records.

📝 Marg Data Files in Summary

  • Every Marg file is one table of one company
  • Extension is a company letter plus a period number
  • order.a01 is the account master of company A
  • a01, b01, c01 are separate companies
  • snmanrc1.ini names companies and snmanri1.ini names periods
  • Everything lives in the Data folder
  • .MBK files are backups, not tables
  • Make a copy of the full folder before any move

View a Data Folder in Marg Data Viewer →

About this guide Updated on 20 October 2026

Compiled by Univik. The folder facts here are what Univik saw in sample data folders. Wherever a menu step or an error cause appears, a link leads to the Marg Care article behind it. Univik works independently of Marg Compusoft, and the Marg name belongs to its owner.