Category filter
Script to rename files on Windows 10 devices
Management of files becomes easier if they are named sensibly. Hexnode lets admins to rename files on multiple devices simultaneously using scripts.
Batch Script
1 2 |
cd location_of_the_file ren oldname newname |
E.g., To rename the file test.txt in the Desktop of the user Deborah to testing.txt,
cd C:\Users\Deborah\Desktop
ren test.txt testing.txt
Powershell Script
1 |
rename-item "current_filename_with_path.ext" "new_filename_with_path.ext" |
E.g., To rename the file test.txt in the Desktop of the user Deborah to testing.txt,
rename-item “C:\Users\Deborah\Desktop\test.txt” “C:\Users\Deborah\Desktop\testing.txt”
Need more help?