Search the Community
Showing results for tags 'rename'.
Hello again, I'm trying to use the FileMove function to rename a bunch of text files. Some of the files have "_1" at the end of their name, for example, "File123_1.txt". I want to remove the "_1" so it would become "File123.txt". What I currently have... FileMove($sSource & "\*_1.txt", $sDestination & "\*.txt") But since I'm using a wildcard, it doesn't appear to be working. I think it's just replacing .txt with .txt. Am I going about this the wrong way? How can I use wildcards and still accomplish this? Any help is greatly appreciated ^__^
283 downloadsHi, this is a tool to change folders or files names, very simple, drag or choose folder, write what you want the application to search for, write what you want it to be replaced with, select folders or files, case-sensitive or not, recursive or not and Go. Example: change all files that have 123 in their name to nothing (aka remove "123") so we write 123 in the "search", and leave the "replacement" field blank. file "123abc.exe" will become abc.exe file "456trt123.txt" Becomes "456trt.txt" As i said, simple.
hello guys, i wanna know how to Search for a file by name then run or rename or delete .... etc