Focal Point
(SOLVED) (FOC1569) SYSTEM COMMANDS DISABLED.

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9197023986

February 16, 2018, 03:03 PM
jfr99
(SOLVED) (FOC1569) SYSTEM COMMANDS DISABLED.
Hi All,

I'm using version 8.201M and I have the following command in my fex ...

CMD DIR *.*

to list the contents of the temp directory.

It works in our Dev environment but not in Test. I'm getting this error in Test ...

(FOC1569) SYSTEM COMMANDS DISABLED. CAN NOT EXECUTE CMD DIR *.*

In version 8.201M, what needs to be changed to allow system commands to work?

Thanks

This message has been edited. Last edited by: jfr99,


WebFocus 8.201M, Windows, App Studio
February 16, 2018, 05:43 PM
FP Mod Chuck
jfr99

Try putting SET OPSYSCMD = ON before that command


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
February 18, 2018, 03:51 PM
Waz
quote:
Try putting SET OPSYSCMD = ON before that command



I didn't think that worked, as it breaks the security if you can just code around it.

I'm eager to find out if it works.

If it doesn't , you can use APP MAP and APP QUERY to get the contents of the directory.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 19, 2018, 09:37 AM
Satheesh Babu
Operating System command disabled for security purpose.if you want to enable.
Login to reporting server console
Click access Control
Right Click the Basic users and click General Privileges.
In the Adapters and Core Server
Uncheck NOSYS.
Then You should be able to run the system commands.

if the user id is added to other roles you have to do this on that role.


WebFOCUS 8.2.04
AIX/UNIX/Windows, All Outputs
February 19, 2018, 11:41 AM
FP Mod Chuck
Satheesh

Welcome to Focal Point. I am always impressed when the first post someone makes is to help someone else. That is what this forum is all about!


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
February 20, 2018, 12:06 PM
jfr99
Thanks Satheesh!!

This is what I needed.


WebFocus 8.201M, Windows, App Studio