Jump to content
Server Maintenance This Week. ×

How tu use DDE Execute on Windows XP exactly?


This topic is 6219 days old. Please don't post here. Open a new topic instead.

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

Link to comment
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.

Link to comment
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

Link to comment
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...

Link to comment
Share on other sites

This topic is 6219 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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