Forum Discussion
Bogdan Mitrache
Apr 03, 2019Steel Contributor
Invoke-CommandInDesktopPackage does not apply to explorer.exe?
Am I missing something?
If I open an explorer.exe window using the above cmdlet and create a directory from the new window, that folder does not get redirected in the corresponding package cache folder of the app I selected when launched the new explorer process.
Instead, the folder gets created directly in the native OS folder, in this example that folder is localappdata.
If I do the same steps with powershell instead of explorer, the folder created using mkdir command in powershell gets redirected to the correct package cache location.
Hi Bogdan Mitrache ,
Currently this is an explorer.exe limitation where it's writing the files to local OS folders. We logged this issue into our backlog and should be rectified in a future update.
As you mentioned, you can continue to use PowerShell.exe or cmd.exe to create files and folder in the virtual filesystem.
Thanks,
Chaitanya
- Chaitanya Donthini
Microsoft
Hi Bogdan Mitrache ,
Currently this is an explorer.exe limitation where it's writing the files to local OS folders. We logged this issue into our backlog and should be rectified in a future update.
As you mentioned, you can continue to use PowerShell.exe or cmd.exe to create files and folder in the virtual filesystem.
Thanks,
Chaitanya