Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the CMD in Windows to change a file name 1

Status
Not open for further replies.

jtflex

Technical User
Feb 20, 2004
32
US
I started this in another thread on a related subject and since I'm have problems I thought it would be better to start a new thread.

I'm using Filemaker 6.0 Windows.

I want to use a script in Filemaker to rename a video clip file in storage.

I found out that I can place the "CMD /C REN oldname newname" in a Send Event.

I don't have a Send Event to choose from. I do have Send DDE. I tried that but it doesn't work. I can get it to work by typing in the syntax using the "Run" command in Windows so I know my syntax is correct.

If it's "Send DDE" I use, can you help me out on what to enter in the "Service Name", "Topic", & "Commands"

Here is the data my calculation creates:

"CMD /C REN C:\pd_oracle\audio_files\drop_off_window\Test\05-12347-1240-43.dvf 05-12349-1240-43.dvf"

Basically I'm trying to change the file 05-12347-1240-43.dvf to 05-12349-1240-43.dvf

Thanks for your help.

Joe
 
Hi jtflex!
try this:

let me know if you need help with batch files and folders....u can always 'import folder' to grab file names and paths....
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

All around in my home town,
They tryin' to track me down...
 
That was it. I needed Send Message and include where to find the CMD command in my snytax.

Thanks lebisol
 
glad it worked out for you!
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

All around in my home town,
They tryin' to track me down...
 
forgot to link you up with

this will show u how to get folders of images but the same concept applies to file and path in general.
Good Luck with the project!
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

All around in my home town,
They tryin' to track me down...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top