Announcement

Collapse
No announcement yet.

Storing the result of a file execute in a variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Storing the result of a file execute in a variable

    Guys... is there a way to store the output of a DOS command ran using file/execure or open so that the var can be printed or used for something inside AMS40?

    Thx for you help.

  • #2
    Re: Storing the result of a file execute in a variable

    Use a batch file, and redirect the output of the DOS command to a text file. Example:

    <pre>@DIR *.EXE >foo.txt
    @cls
    @exit</pre>
    --[[ Indigo Rose Software Developer ]]

    Comment

    Working...
    X