Open a folder with explorer.exe

bauss jacobbauss at gmail.com
Sat Dec 28 18:55:08 UTC 2024


I cannot figure out how to get spawnProcess working with 
explorer.exe on Windows.

Been trying to call it like:

```
spawnProcess(["explorer.exe", path]);
```

But it only opens explorer.exe in the documents path and not the 
path given.

I've tried to set the working directory too and it doesn't work 
either.

Can anyone help me? All I want to do is open a specific folder in 
explorer.exe given a specific path.


More information about the Digitalmars-d-learn mailing list