dbTalk Databases Forums  

Send event on WinXP

comp.databases.filemaker comp.databases.filemaker


Discuss Send event on WinXP in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jonas Pärtma
 
Posts: n/a

Default Send event on WinXP - 09-13-2005 , 08:48 AM






I have a image bank of photos. They are namned according a customer nr
like 405632.jpg.

I want to rename all the photos. They are over 3000.

I did a "Send Event" script and it worked! My problem is that I can't
get a filepath in the script. I'm doing something wrong.

My guess so far looks like this:

"cmd /c " & "rename c:\\" & temp::custnr & ".jpg " & "c:\\" &
temp::contractnr & temp::depart & ".jpg"

My archive isn't at c:\ but I test my script against it. Short and
simple ut doesn't work.

If I remove the c:\\ it works if I know which path is used.

Can you please help me?

--


Thank you for your time.

Jonas Pärtma

Reply With Quote
  #2  
Old   
Remi-Noel Menegaux
 
Posts: n/a

Default Re: Send event on WinXP - 09-13-2005 , 09:59 AM







Generally speaking, photos are individual files like 12345.jpg in a
special (shared) folder.
To change thousand file names on a row I use 'RenameIt.exe', which I
find pretty powerful and handy.
It's available at :
http://members.fortunecity.com/humbird/download.html
You may use : Version: 2.0
Name: cg! [oDt] s/n: 1079-9571-0357
Remi-Noel


"Jonas Pärtma" <jonas (AT) esfoto (DOT) se> a écrit dans le message de news:
1126619524_27667 (AT) spool6-east (DOT) superfeed.net...
Quote:
I have a image bank of photos. They are namned according a customer nr
like 405632.jpg.

I want to rename all the photos. They are over 3000.

I did a "Send Event" script and it worked! My problem is that I can't
get a filepath in the script. I'm doing something wrong.

My guess so far looks like this:

"cmd /c " & "rename c:\\" & temp::custnr & ".jpg " & "c:\\" &
temp::contractnr & temp::depart & ".jpg"

My archive isn't at c:\ but I test my script against it. Short and
simple ut doesn't work.

If I remove the c:\\ it works if I know which path is used.

Can you please help me?

--


Thank you for your time.

Jonas Pärtma



Reply With Quote
  #3  
Old   
Jonas Pärtma
 
Posts: n/a

Default Re: Send event on WinXP - 09-13-2005 , 01:42 PM



Well that will not work for me.

I have the old names and the new in a filemaker database. I need to
replace the filename completly, not crop it or add new characters.

I usually use this program to rename lots of files:

http://www.bulkrenameutility.co.uk/ (Freeware)

It was a nice thougth.

/Jonas

Remi-Noel Menegaux wrote:
Quote:
Generally speaking, photos are individual files like 12345.jpg in a
special (shared) folder.
To change thousand file names on a row I use 'RenameIt.exe', which I
find pretty powerful and handy.
It's available at :
http://members.fortunecity.com/humbird/download.html
You may use : Version: 2.0
Name: cg! [oDt] s/n: 1079-9571-0357
Remi-Noel

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.