Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
I attempting to remove any "," (commas) in the file names which I have thousands of files names that have this special character. Here is an example- AK0031AA 1976-06-21 NEW CONSTRUCTION - CIVIL - EXCAVATION AND UTILITIES, EXCAVATION ELEVATIONS (C 3 1) 01806
Any ideas how I can do this on an entire directory C:\Scans that holds all these different files?
Name: Razor2.3 Date: August 25, 2009 at 17:11:02 Pacific
Reply:
Q&D VBScript:
Const folder = "." 'The full path of the folder with the files you want to change
'ex: "c:\Documents And Settigns\you\yourstuff"
With CreateObject("Scripting.FileSystemObject")
On Error Resume Next
For Each file In .GetFolder(folder).Files
file.Name = Replace(file.Name, ",", "")
Next 'file
End With 'FSO
Summary: I know that I can use the following method to remove special characters away from a folder name: :: Request the name of the folder from the user SET /P folder=Folder Name: Set folder=%folder:\= % Set...
Summary: Our office network uses Win2K Server and our PCs use Win2KPro. We are using a program called RealPopup for text messaging between PCs. RealPopup allows each PC to log all messages in a plain-text file...