Open wsl Ubuntu in torrent directory command

Is there a way to have wsl Ubuntu open in the current directory I am working in? I’ve tried various commands I found on google but they aren’t able to open in the current directory.

It may not be possible but I just wanted to ask, thank you for your time!

First, in case you have multiple wsl distributions installed, you need to find the name of the one you want to use.
In a dos window, type wsl -l, so it gives you the names of the installed wsl distributions :

B:\Local Downloads>wsl -l
Distributions du sous-système Windows pour Linux :
Debian (par défaut)
Ubuntu-24.04
Ubuntu-20.04
Ubuntu-18.04

Say, you want to use Ubuntu 24.04, you then go, in Opus, to Settings / Customize and head to the Context menus tab. Here, double-click Folders background / Folders :

Once the default menu is opened, locate the place you want to add this new item in the menu, and right-click on the item before it, and create a new button.

Right-Click the new button added in the list, and customize it like that (icon is optional, choose what you want if any) :

Close "OK" this edit and the one in the previous Customize window.

You should be good, the option is in the list that appears on right-clicking current folder background :


Choosing wsl here opens the following window :
image

Note: If you want this in a button elsewhere, same applies, just put the button somewhere else.

You can also make a button (or menu item, hotkey, etc.) which runs this command:

CLI DOSPROMPT=wsl

If multiple WSL distributions are installed, it will use the default one, unless overridden via Preferences / Miscellaneous / Advanced: [Behavior] wsl_distribution.