# Open files from devkinsta on vsc

**URL:** https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539
**Category:** Feature Requests
**Created:** [September 19, 2023, 10:32pm UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539 "2023-09-19T22:32:33Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Gustavo\_Adolfo\_Ramir](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/gustavo_adolfo_ramir/32/2425_2.png) [@Gustavo\_Adolfo\_Ramir](https://community.kinsta.com/u/Gustavo_Adolfo_Ramir)
#### Post date: [September 19, 2023, 10:32pm UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539/1 "2023-09-19T22:32:33Z")

</div>

I’m trying to open the code from devkinsta and it’s been impossible, it always throws errors at me. I’m on a PC with Windows 11 and WSL. The error that comes up when I try to run the `code .` command is the following: `<3>WSL (4487) ERROR: CreateProcessParseCommon:789: Failed to translate \\wsl.localhost\docker-desktop-data\data\docker\volumes\DevKinsta\public\` . It basically redirects me to the main distro I have selected and I can’t do anything after that.

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [September 20, 2023, 2:22am UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539/2 "2023-09-20T02:22:55Z")

</div>

Hello @Gustavo_Adolfo_Ramir 👋 and welcome to Kinsta Community!

I’m not familiar with VSC (VSC = Visual Studio Code I assumed?) and am not really sure how to reproduce to run the code and to get the error you reported - I have never seen/experienced that WSL error message either generated in DevKinsta.

Was that error showed in the VSC (when you tried to run the code)? - if you could please send the screenshot of the error and any information.  
If it was not showed in DevKinsta, I don’t think it’s DevKinsta related issue - and probably that might be related to either VSC settings, the WSL settings itself (and/or Docker Desktop/Engine) perhaps? 🤔  
Also, just wondering if you’ve installed WSL extension in your Visual Studio Code?

PS: Our support scope may be very limited for the 3rd party software.

Regards,  
Agus

---

<div class="post-metadata">

### Author: ![Gustavo\_Adolfo\_Ramir](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/gustavo_adolfo_ramir/32/2425_2.png) [@Gustavo\_Adolfo\_Ramir](https://community.kinsta.com/u/Gustavo_Adolfo_Ramir)
#### Post date: [September 20, 2023, 3:26pm UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539/3 "2023-09-20T15:26:20Z")

</div>

Basically, I want to edit the code of my WordPress site. What I did was download my site which is hosted on Kinsta using DevKinsta. Everything works correctly, but when I want to edit my code, it’s impossible. I can’t open the site folder with cmd, PowerShell, or terminal. I can’t drag it from the image that was created to Visual Studio Code. In short, I can’t develop locally.

‘\wsl.localhost\docker-desktop-data\data\docker\volumes\DevKinsta\public\majhacollective’  
CMD.EXE se inició con esta ruta como el directorio actual. No se permiten  
rutas UNC. Regresando de manera predeterminada al directorio Windows.

The system won’t let me attach images. Additionally, if I can’t use Visual Studio Code, how am I supposed to modify my files? I also have the WSL extension installed. Everything is set up correctly. In fact, I can access the distros I have installed with WSL on my computer. However, I can’t access that image and Docker where my site is on DevKinsta.

---

<div class="post-metadata">

### Author: ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)
#### Post date: [September 20, 2023, 3:30pm UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539/4 "2023-09-20T15:30:53Z")

</div>

Hey @Gustavo_Adolfo_Ramir 👋  
The default directory DevKinsta uses for the sites’ files is `C:\Users\YourUsername\DevKinsta\`, are you able to open those?

Regards,  
Alessandro

---

<div class="post-metadata">

### Author: ![Gustavo\_Adolfo\_Ramir](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/gustavo_adolfo_ramir/32/2425_2.png) [@Gustavo\_Adolfo\_Ramir](https://community.kinsta.com/u/Gustavo_Adolfo_Ramir)
#### Post date: [September 20, 2023, 3:40pm UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539/5 "2023-09-20T15:40:59Z")

</div>

C:\Users\tavor\DevKinsta\public this is my path, but It has nothing inside and when I click on the folder icon in devkinsta it opens the path  
\wsl.localhost\docker-desktop-data\data\docker\volumes\DevKinsta\public\mysite

---

<div class="post-metadata">

### Author: ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)
#### Post date: [September 20, 2023, 4:00pm UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539/6 "2023-09-20T16:00:45Z")

</div>

Oh, I see you are using WSL so the default path is not the one in use.  
I don’t have a Windows machine available right now to make a test, but I believe you need to map the WSL path so that CMD can understand the UNC paths, perhaps using `net use`

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [September 21, 2023, 1:40am UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539/7 "2023-09-21T01:40:10Z")

</div>

I agreed with @Alessandro 🙂 if you would like to access that wsl path from the command line, you would need to map that network location into a “_local drive_” .  
You could use the command with something like this:

`net use z: \\wsl.localhost\docker-desktop-data`

(you may change the `z:` part with any local drive you want to map/assign for that network path - as long as they don’t exist on your local computer).

After that you could just go to that new location you just mapped to that wsl network path, e.g.: `z:` (or your chosen one)

and in that new drive location, you can just perform `cd` command to `data\docker\volumes\DevKinsta\public` and you will see your site folder `mysite`

Like this for example:

 ![Screenshot from 2023-09-21 08-29-39](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/b/b8e0591edc2ee2293380934b0e163a2b2c5c3da2.png)

Also, you would be able to see that drive you mapped to wsl network path, via windows explorer. Like this for example:

 ![Screenshot from 2023-09-21 08-30-00](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/9/98533555f28d94fc7d17882ed9c532c979ce21b1.png)

After that, I’m sure you should be able to edit the site’s files (php scripts, etc.) with your local editor/program - as those are now accessible under that local drive that’s mapped to WSL network path. So yeah, it’s actually not DevKinsta related issue but that WSL and network mapping related.

Hope that helps 😃

Regards,  
Agus

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)
#### Post date: [September 24, 2023, 1:40am UTC](https://community.kinsta.com/t/open-files-from-devkinsta-on-vsc/2539/8 "2023-09-24T01:40:45Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
