Forum Discussion

Bogdan Mitrache's avatar
Bogdan Mitrache
Steel Contributor
Apr 03, 2019
Solved

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 

  • 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 

Resources