Remote VBS Batch Number Prefixer
Budget: $10 – $30 USD
I need a Windows-friendly VBS script that can hop across a list of IP addresses, open every target file it finds there, search for any 10-digit number, and place a “1” in front of each of those numbers. Some hosts may have a single file, others a whole directory tree, so the script must cope with a variable number of files per IP address. Whenever a file contains more than one 10-digit string it should modify each occurrence, not just the first or the last.
Ideally the script will:
• Accept a text list of IPs and a root path (UNC or mapped drive).
• Recursively scan from that path downward, capturing every readable file that matches the extensions I define at runtime.
• Perform an in-place edit, backing up originals with a timestamp in case a rollback is needed.
• Write a concise log (IP, file path, before/after value, timestamp) so I can audit the changes later.
I’m happy to clarify exact file types and directory structures once we start; for now, assume standard text-based configuration and log files. No external dependencies, just pure VBScript runnable from cscript.exe on a Windows 10/11 admin workstation.
Deliverable: one well-commented .vbs file plus a short README explaining any command-line arguments and required permissions.
If this sounds straightforward, let’s discuss the finer details and get moving.
Ideally the script will:
• Accept a text list of IPs and a root path (UNC or mapped drive).
• Recursively scan from that path downward, capturing every readable file that matches the extensions I define at runtime.
• Perform an in-place edit, backing up originals with a timestamp in case a rollback is needed.
• Write a concise log (IP, file path, before/after value, timestamp) so I can audit the changes later.
I’m happy to clarify exact file types and directory structures once we start; for now, assume standard text-based configuration and log files. No external dependencies, just pure VBScript runnable from cscript.exe on a Windows 10/11 admin workstation.
Deliverable: one well-commented .vbs file plus a short README explaining any command-line arguments and required permissions.
If this sounds straightforward, let’s discuss the finer details and get moving.
Related categories:
Windows Desktop
Software Architecture
Shell Script
AutoHotkey
Scripting
VBScript
Automation
System Administration