Solved

Script to Rename a file at a specified time

Posted on 2014-10-22
1
57 Views
Last Modified: 2014-11-27
Need a script to do the following

Run at a specified
Rename the file following a specific naming convention
0
Comment
Question by:shamnad
1 Comment
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 40398027
Easiest might be a do a scheduled task for a powershell one liner


the powershell piece would be like this:
if (Test-Path -Path C:\Path-to-file\file.ext) {Rename-Item C:\Path-to-file\file.ext <newname> -Force -recurse}

Open in new window

0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can't log in to windows 7 11 60
Microservices and Windows apps 5 24
Problem to Alipay 10 22
Do hyper-v and VMware clash 4 59
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question