5

I have a dotnet 4.5.2 application, which is just a console application that saves some datafeed into a .txt file. The program depends on some .dll files (private data-connectors, I don't have control over them).

I installed dotnet 4.5.2 via winetricks

winetricks -q dotnet45 corefonts

Now I'm running my application

wine ~/datafeed.exe

and cannot filgure out there it actually saves my .txt files?

  • 1
    Everything installed and running with Wine resides in .wine in your Home folder. – user589808 Oct 6 '16 at 13:55
7

Wine's files are stored in /home/user/.wine/drive_c/ by default.

.wine is a hidden folder, so press Ctrl + H in your home folder to show it.

You can select other folders in most programs by browsing to the correct place on your hard drive.

  • Hi, anonymous2. Thanks! I ve seen this folder, but there are no any files. datafeed.exe has no installer, it's just executable that creates .txt files with data in the same directory, where exe lies – icherevkov Oct 6 '16 at 14:50
  • @IlyaCherevkov, is there a save dialog? – anonymous2 Oct 6 '16 at 14:53
  • im working via ssh, wine ~/datafeed.exe doesn't propose to save anything – icherevkov Oct 6 '16 at 14:55
  • I resolved it, needed to properly install dotnet via GUI. Files are stored in the directory with datafeed.exe itselft btw – icherevkov Oct 6 '16 at 20:26
3

The existing answer in incomplete.

Applications running in wine can store data in the locations specified in ~/.wine/dosdevices.

Those can also be specified graphically. To do so, launch Configure Wine from the dash and switch to the tab Drives. The rest should-be self-explanatory.

By default, there are 2 "drives" (as Windows calls them): c: and z:. c: by default points to ../drive_c which at that location is equal to ~/.wine/drive_c. So if the application running in wine stored its data on drive c:, it's in there.

However, drive z: points to / which is your file system root. This means that by default wine applications can access all files on your system provided wine has the rights to do so. So (by default) your user rights.

Anyways, it's likely that the application stored it's data on drive c: and therefore in ~/.wine/drive_c but I think the above is worth knowing, especially if you don't find the file you're searching in ~/.wine/drive_c.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.