How can I change default directory location to execute cmd in ComandLinePowerShell?

Hi All,

Currently, I want to create a text file with content "Hello world" in C drive ( or anywhere which I can store file and then able to download) on Outsystem Server.

When I input this command "echo 'Hello, world.' > foo.txt" and submit, 'Powershell_Commander'  server action return this error as picture below.

It said that Access to the path is denied. I try to change directory location by using command line "CD\" but it still didn't work. Can anyone guild me how to do it?

Thank you.


Hi Huy,

If you are using outsystem cloud env or any env then you can not direct access c drive of your system.

 Follow this link-

it will be helpfull.

Kind Regard