10-03-2009, 07:14 AM
Thanks it works.
I thought about how to proceed and i think this might be the simplest way (although not full automatic):
1. Open email message and Download attachments manually to folder C:\gmail
2. Trigger macro that:
A) mkdir C:\mail\"folder named as label"\"folder named as from"
B) ren "c:\gmail\*.*" "C:\mail\"folder named as label"\"folder named as from"
So how to use string var in path for mkdir and ren command? Is mkdir neccessary or macro can check when ren command is used if the folder exists and if not create it?
I thought about how to proceed and i think this might be the simplest way (although not full automatic):
1. Open email message and Download attachments manually to folder C:\gmail
2. Trigger macro that:
A) mkdir C:\mail\"folder named as label"\"folder named as from"
B) ren "c:\gmail\*.*" "C:\mail\"folder named as label"\"folder named as from"
So how to use string var in path for mkdir and ren command? Is mkdir neccessary or macro can check when ren command is used if the folder exists and if not create it?