Jump to content
Sign in to follow this  
spongebob

How tu use DDE Execute on Windows XP exactly?

Recommended Posts

Hi Ive searched 2 hours to no avail and am sure this is a dumb question but so I need to ask it anyways.

Im trying on Windows XP to use the DDE Execute Script step to:

1. Create a folder if it doesnt exist and

2. Rename a file in that folder

I like the DDE method as it means no plugins or similar haveto be distributed with my FM Solution, which is designed only for WINXP at this time.

QUESTION.

What do I use as "Service Name" and "Topic" to get it to work?

My command is (for testing and its not working):)

"cmd /c rename C:FM_Backupcurrent_clone.fp7 C:FM_Backupcurrent_clone2222.fp7"

For service name I tried, cmd, system, and everything else u can think of...

Thanx

Spongebob

Share this post


Link to post
Share on other sites

Hello Squarepants,

DDE is pretty much dead. I've only heard of a couple of people using DDE successfully and I'm not one of them.

Check out the action called 'Send Event'. In my opinion it is poorly named as it really allows you to get to the command prompt. It may be named differently on Macs but on Windows check the help file for Send Event.

Share this post


Link to post
Share on other sites

thanx!

What would be the exact send event syntax to create a folder?

C:FM_BackUp

What happen s if you try that and the folder already exists?

thanx

Share this post


Link to post
Share on other sites

MKDIR "C:FM_BackUp"

For more info on the other functions, click Start > Run > type cmd

Next type help and hit enter -- it will give you a list of all available commands.

What will happen? Nothing really, it will still execute as per normal, i suppose you could write the output to a text file and then read that file if you needed the result but there's no real point unless you really need to -- in which case you should probably use vbscript instead but i'm just driveling on now so...

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.