Selecting File # According to Day of month

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
wvfrugalchick
Newbie
Posts: 9
Joined: Sun Jul 23, 2023 4:57 pm

Selecting File # According to Day of month

Post by wvfrugalchick » Tue Oct 29, 2024 5:34 pm

Non-techie here, learning as I go.

1) My files are in C:/Receipts/
2) Each file is numbered 1-31

I need ms to go into the folder, select the numbered file according to todays date and upload it to my main backup. Can anyone show me what that would look like? Please and Thank you

wvfrugalchick
Newbie
Posts: 9
Joined: Sun Jul 23, 2023 4:57 pm

Re: Selecting File # According to Day of month

Post by wvfrugalchick » Tue Oct 29, 2024 5:39 pm

I tried this, but Its not working

//Get the date
GetDate>TheDate
//Separate out all the parts
Separate>TheDate,/,DateParts
//Get the mm,dd, and yyyy
Let>dd=DateParts_1


Let>DateString=%dd%
//Set the path to your file
Let>FilePath=C:\receipts\%DateString%.jpg

* Yes! Im in over my head. My brain is not wrapping around this

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts