Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Run a bat file from a FEX ?
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Run a bat file from a FEX ?
 Login/Join
 
Member
posted
I want to run a batch file from within a FEX. What command do I use.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 12 | Registered: June 01, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
You could use DOS or SYSTEM command.

https://webfocusinfocenter.inf...ng/source/system.htm


WebFOCUS 8206, Unix, Windows
 
Posts: 1660 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Expert
posted Hide Post
I would recommend using the SYSTEM function as Babak suggests.

The advantage is that, because you get a return code from the command in the variable, the whole process will wait until the command has completed.

Using just a DOS (or other op system) command does not cause processing to wait.

A question to take to the Expert centre at Summit!! You'll get great support and some examples as well Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5601 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Master
posted Hide Post
On our system we do not allow the execution of operating system level commands, as it is a huge security risk. We look for alternative methods to accomplish the task, even creating a java program that could call the specific bat file.




Scott

 
Posts: 862 | Registered: May 24, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Run a bat file from a FEX ?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.