# "Directory cannot be accessed" with CLI switch under WINE

**URL:** https://community.mp3tag.de/t/directory-cannot-be-accessed-with-cli-switch-under-wine/44619
**Category:** General Discussion
**Created:** [February 22, 2019, 12:04am UTC](https://community.mp3tag.de/t/directory-cannot-be-accessed-with-cli-switch-under-wine/44619 "2019-02-22T00:04:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![teeedubb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/13edae/32.png) [@teeedubb](https://community.mp3tag.de/u/teeedubb)
#### Post date: [February 22, 2019, 12:04am UTC](https://community.mp3tag.de/t/directory-cannot-be-accessed-with-cli-switch-under-wine/44619/1 "2019-02-22T00:04:03Z")

</div>

Hi,

I have been using Mp3tag for many years with Linux/WINE and hats off to you guys, cause its worked without issue for a long time.

Recently I updated to 2.9x and started getting a "Directory cannot be accessed" error when opening a folder via the command line. If I roll back to 2.83 it works again.

![image](https://community.mp3tag.de/uploads/default/original/2X/3/3e2f752059d5b02073d174f65cf35a6969737cc0.png)

The command I'm using:  
#!/bin/bash

```
export DISPLAY=:0

if [[-f $1]]; then
  echo "is filename"
  1=$(dirname $1)
fi

wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Mp3tag/Mp3tag.exe /fp:"$1"

```

I'm running Mp3tag on Ubuntu x86 18.04 with WINE 4.0

Any ideas on how to fix this?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 23, 2019, 5:32pm UTC](https://community.mp3tag.de/t/directory-cannot-be-accessed-with-cli-switch-under-wine/44619/2 "2019-02-23T17:32:05Z")

</div>

Can you check what is displayed in the directory field on the Tag Panel or the window caption if you open this directory from within Mp3tag?

---

<div class="post-metadata">

### Author: ![teeedubb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/13edae/32.png) [@teeedubb](https://community.mp3tag.de/u/teeedubb)
#### Post date: [February 23, 2019, 10:07pm UTC](https://community.mp3tag.de/t/directory-cannot-be-accessed-with-cli-switch-under-wine/44619/3 "2019-02-23T22:07:28Z")

</div>

Hi,

When loading the folder via the MP3tag open folder gui I navigate to the linux folder structure, eg: /mnt/music/Triple J Hottest 100 Volume 24 2016

v2.83:  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/a/a8125970356b23725224da296dd254e983ef0de5.jpeg)

v2.93:  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/9/9c04e965c7f5fa14980cd6efe5b8513c6f433a51.jpeg)
