View Full Version : [SOLVED] open .dat file
Duke Togo
October 15th, 2009, 08:33 AM
hi
I had a google on this but could not find an answer
I want to open a .dat file (just a data file for simple text editing not video)
what do I need in order to do this?
is there a piece of software that can do this?
thanks in advance
RichardLinx
October 15th, 2009, 09:16 AM
.dat files are windows-scripts, which you cannot run on Linux.
You might have to install windows in a virtual machine and edit the file there, it might also be possible through wine. I'm not very familiar with .dat, sorry.
You can download the latest version of Wine from here: http://www.winehq.org/download
(The Ubuntu .deb file)
And you can get virtualbox by typing in a terminal:
sudo apt-get install virtualbox-ose
Or visit the virtualbox website and download the binary from there.
http://www.virtualbox.org/wiki/Downloads
Duke Togo
October 15th, 2009, 09:38 AM
Richardlinx
Thanks for the help but unfortunately I already have a windows xp partition but the cd on my laptop is broken so there is no way I can use virtual box
The xp partition is a japanese version so doing most things on it, unless very simple, are almost impossible (my japanese is limited)
any other ideas
I was running wine too but it won`t open this file
RichardLinx
October 15th, 2009, 10:35 AM
Wine is a tool for loading up Windows programs. So you would need to try installing a windows program for opening/editing .dat files in Wine.
Also, I'm not 100% sure about the contents of a .dat file but I did some quick research and learned that they're a type of text file. So you might be able to open it up in most text editors. Try opening it in gedit on Ubuntu. (Gedit is the default text editor in Ubuntu). You could also try opening it up in Notepad or Wordpad in Wine.
I haven't got wine installed but if I remember correctly it comes with Notepad or Wordpad installed.
mcduck
October 15th, 2009, 01:11 PM
hi
I had a google on this but could not find an answer
I want to open a .dat file (just a data file for simple text editing not video)
what do I need in order to do this?
is there a piece of software that can do this?
thanks in advance
.dat is just a generic name for any data file, so you need to tell what program made that file and what kind of data it contains.
Nobody will be able to tell you what program to use to open that kind of file simply based on the file name, it can contain any data in any format.
3rdalbum
October 15th, 2009, 01:27 PM
If it's just a text file, then try looking at it using "less":
less myfile.dat
If it's just gobbledegook, then it's got binary data in it and any editing you do to it will probably stop it from working in whatever program it's for.
The ".dat" extension means precisely nothing. If you know what program on Windows was used to open or create this file, then tell us and there might be a way to open it on Linux.
mcduck
October 15th, 2009, 05:30 PM
You can also try to check what type the file's contents are with the "file"-command.
file somefile.dat
Duke Togo
October 20th, 2009, 09:07 AM
thanks everyone
gedit wouldn`t do it but notepad in wine did
it was binary so I left well alone
solved
BikeHelmet
October 20th, 2009, 09:22 AM
.dat is one of the more overused extensions. I've seen media players uses it, game saves, other game assets, etc.
But... it looks like you already have your answer. :)
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.