简体   繁体   English

从DOS软件中提取旧数据

[英]Extracting old data from a DOS software

I have an old software created on DOS. 我在DOS上创建了一个旧软件。 All I have is an executable which shows me the UI. 我所拥有的只是一个可执行文件,可向我显示UI。 What this software does is it takes details of an order given to a door manufacturing company, stores it somewhere and sends the data to a needle printer. 该软件的作用是获取发给门制造公司的订单的详细信息,将其存储在某个地方,然后将数据发送到针式打印机。 The data stored includes things like the name and address of the customer, door dimensions and so on. 存储的数据包括客户的名称和地址,门的尺寸等。

The original creators of the software are no longer reachable and I have no idea what language was used to create it. 该软件的原始创建者不再可用,我也不知道使用什么语言来创建它。 My company wishes to get rid of this system but right now the only way to access information about old orders is by inserting the order number into the UI. 我的公司希望摆脱这个系统,但是现在访问旧订单信息的唯一方法是在UI中插入订单号。

What I need to do is extract this data and convert it to some readable format, I have read research papers, searched this website and many others but have come up empty. 我需要做的是提取这些数据并将其转换为可读的格式,我阅读了研究论文,搜索了该网站以及许多其他内容,但都没有内容。 I know that when I enter a new order the files that get modified have the following formats: 我知道输入新订单时,修改后的文件具有以下格式:

^01, WRK, DBK, STA ^ 01,WRK,DBK,STA

There are other files in the directory with formats like .ALT, .DBI, .ASC, .BAS, .DDF, .MA3 but those dont seem to have changed in the last 20 years. 目录中还有其他文件,如.ALT,.DBI,.ASC,.BAS,.DDF,.MA3格式,但在过去20年中似乎没有变化。

Thank you very much in advance guys 提前非常感谢你们

The file extensions aren't always the best way of finding out things. 文件扩展名并不总是发现问题的最佳方法。 File extensions are fluid and there's never been much in the way of standardisation, or at least not back in the DOS days. 文件扩展名不固定,没有太多的标准化方法,或者至少没有回到DOS时代。 If you look at FilExt , for example, there's a fair bit of double up. 例如,如果您查看FilExt ,则有很多加倍。

You'd be better off running the files through a tool like TrID/32 - File Identifier v2.10 - (C) 2003-11 By M.Pontello which does a good job of recognising files by their content rather than their file extension. 您最好通过TrID / 32-File Identifier v2.10-(C)2003-11之类的工具运行文件, 作者是M.Pontello ,它可以很好地根据文件的内容而不是文件的扩展名来识别文件。 It's not foolproof but can identify a few thousand different file types. 它不是万无一失的,但是可以识别数千种不同的文件类型。

I used to do a lot of development on DOS back in the day. 过去,我曾经在DOS上做过很多开发工作。 If you want to contact me off list, bruce dot axtens at gmail dot com, I can help identify the files and perhaps cook up a mechanism to extract the data. 如果您想与我联系,请在gmail dot com上与我联系,我可以帮助您识别文件,甚至可以建立一种提取数据的机制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM