I've never seen anyone even discuss using DDE with PowerShell before, so
you'll be inventing the "traditional" method. Besides what Bob mentioned,
here are a couple of avenues to explore.
(1) .NET-based DDE
The standard DDE APIs are embedded in Windows (with the exception of the
NetDDE stuff that started going away with Vista), so there are some wrappers
out there. You might try using NDDE since it's a .NET component that can be
loaded and used as an object:
http://ndde.codeplex.com/
(2) commandline DDE
There are supposedly multiple commandline DDE utilities out there, but I
haven't seen much about them; you'll need to hunt to find them. Try DDE_run
and CMCDDE. Unfortunately CMCDDE appears to be missing in action from its
original website.
"thinknew" <thinknew@xxxxxx> wrote in message
news:F42BDD80-8C0B-428E-9BD2-A75EF6D7604B@xxxxxx
> How do you use DDE in powershell? I'm comfortable with powershell and
> would
> like to keep it in the family...but if unconventional, what is the easiest
> or
> traditional method? The background is that I have an oldschool 16-bit
> application that I need to automate. I have visibility of the
> applications
> DDE documentation and as a first step, am trying to determine how I will
> establish this DDE connection.
>
> Thoughts?