Command Prompt for Windows

Command DDEREQ


Request data from an application.


DDEREQ app topic "item"
appSpecifies the application name to communicate with.
topicSpecifies the subject of the conversation.
itemA string containing the request.


Dynamic data exchange (DDE) is a protocol for interprocess communication.

Command DDEREQ will wait, up to 60 seconds, for the requested data before displaying an error message.

The data returned by the specified application is placed in the following environment variables :-

  1. DDEREQ - Contains the index value of the last environment variable that contains the data.
  2. DDEREQ.0, DDEREQ.1, ... - Contains the requested data.

Example on using DDEREQ.

Also see commands DDEEXEC and DDEPOKE.