Find Jobs
Hire Freelancers

Win 10 Batch file required

£20-250 GBP

In Progress
Posted over 3 years ago

£20-250 GBP

Paid on delivery
This project relates to 6 x weekly radio show mp3 files that are downloaded via Dropbox into a folder, those file need renaming so they can be imported into a radio playout system. I require a batch file, that runs in windows (win 10) scheduler to auto-unzip files into a folder, identifiy those files by a specific marker (P1-P6) within the file name and rename with the absolute prefix of 1001 -1006 and a space needs inserting before any further charrecters. ( 1001, space, file name, date. mp3) Source directory: c:\Users\andre\Desktop\Silky Sounds unzipped Original File names: Glyn Williams Silky Soul E148 [login to view URL] Glyn Williams Silky Soul E148 [login to view URL] Whereby: 'Glyn Williams Silky Soul' is usually constant E148 changes each week, next week will be E149, week after E150 P1 = part 1, there is 6 parts each week Destination Folder: C:\Users\andre\Desktop\SS-renamed New File name examples that is required: 1001 SSoul E148 P1 (current date).mp3 1002 SSoul E148 P2 (current date),mp3 1003 SSoul E148 P2 (current date),mp3 1004 SSoul E148 P2 (current date),mp3 Is .bat file the best way to achieve this function?
Project ID: 29302756

About the project

2 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average £185 GBP for this job
User Avatar
Hello, Yes batch file or PowerShell script can achieve the task you mentioned in your project. I can provide you the script to unzip, move files to destination folder and rename files. I've done similar work before. Best, Kashif
£150 GBP in 7 days
5.0 (8 reviews)
4.6
4.6
User Avatar
Hello, This is all doable in a batch file. As for whether it's best, unzipping and renaming based on part number would be slightly easier in something else but they have their own drawbacks. Also, handling errors in case the scheduled task happens to run at the same time as DropBox is downloading could be more elegant outside batch. In Windows 10 other built-on scripting options are VBScript and PowerShell. VBScript started dying years ago, I wouldn't consider it. PowerShell is great and incredibly powerful but there's potential that enabling a script to be scheduled would need a Windows setting ('Execution Policy') to be changed. I don't think it would be much faster to write in PowerShell vs batch so it's all much of a muchness and probably down to what you would be more comfortable with. I could help either way.
£220 GBP in 2 days
5.0 (2 reviews)
2.8
2.8

About the client

Flag of UNITED KINGDOM
United Kingdom
5.0
1
Payment method verified
Member since Feb 18, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.