143
Views
2
Comments
Solved
How can I change default directory location to execute cmd in ComandLinePowerShell?
Question

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.

Huy,

2026-02-26 06-29-24
Rahul
 
MVP
Solution

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-

https://www.outsystems.com/forums/discussion/49212/how-to-upload-a-file-to-a-particular-folder-particular-path-in-server/


it will be helpfull.


Kind Regard

Rahul


UserImage.jpg
Huy Nguyen

Rahul Sahu wrote:

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-

https://www.outsystems.com/forums/discussion/49212/how-to-upload-a-file-to-a-particular-folder-particular-path-in-server/


it will be helpfull.


Kind Regard

Rahul


Thanks Rahul Sahu


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.