DOS SILENT command-token VALUE ( expression )After processing a DOS statement, the AVM shell pauses, and prompts you to press SPACEBAR to continue. When you press SPACEBAR, the AVM clears the window and continues processing. You can use the SILENT option to eliminate this pause. Use this option only if you are sure that the DOS program, command, or batch file will not generate output to the window.command-token VALUE ( expression )One or more command (command-token) words and symbols that you want to pass to a DOS command processor. The VALUE option generates the command tokens included in expression, a character string expression. The specified combination of command-token and VALUE ( expression ) options can form any legal combination of commands and command options permitted by the DOS command processor, including programs, DOS commands, and batch files. If you do not use any of these options, the DOS statement invokes the DOS command processor, which remains until you exit it.The commands can contain Unicode characters. See OpenEdge Development: Internationalizing Applications for more information about Unicode.On UNIX, this procedure runs the UNIX ls command. In Windows, this procedure runs the DOS dir command. On other platforms, the AVM displays a message stating that the operating system is unsupported.
IF OPSYS = "UNIX" THEN UNIX ls.ELSE IF OPSYS = "WIN32" THEN DOS dir.ELSE DISPLAY OPSYS "is an unsupported operating system".
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |