Re: Totally the general topic in here
- From: "Arjan" <arjan@xxxxxxxxxxxx>
- Date: Tue, 19 Jul 2005 21:47:02 +0200
Dear Claus,
you can also create your own script like the sample shown below.
Arjan
'
' Search.vbs
'
strFolder = "c:\"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder(strFolder)
ShowFiles(objFolder)
Sub ShowFiles(objFolder)
For Each objFile In objFolder.Files
If Len(objFile.Name) > 60 Then
WScript.Echo objFile.Path & "\" & objFile.Name
End If
Next
For Each objSubFolder In objFolder.SubFolders
ShowFiles(objSubFolder)
Next
End Sub
"cjobes" <cjobes@xxxxxxxxxxxxx> wrote in message
news:ONTfxOHjFHA.1232@xxxxxxxxxxxxxxxxxxxxxxx
> Hi guys,
>
> This is going to be a unique one for this NG. We just got a new client
> that
> created something I haven't come accross before. They have created sub
> dirs
> and file names with somewhere around 150 characters each, running into the
> 255 limit. We need to clean this up and I was wondering if anybody out
> there
> knows a 3rd party tool that will allow a search by lengh of file name
> (i.e.
> search for files that have a name longer than 60 characters).
>
> If we need to do this manually it will take forever.
>
> Thanks,
>
> Claus
>
>
.
- Follow-Ups:
- Re: Totally the general topic in here
- From: cjobes
- Re: Totally the general topic in here
- From: cjobes
- Re: Totally the general topic in here
- References:
- Totally the general topic in here
- From: cjobes
- Totally the general topic in here
- Prev by Date: Re: 1 NIC v. 2 NICS & remote access questions from beginner
- Next by Date: email not getting droped into user folders
- Previous by thread: Re: Totally the general topic in here
- Next by thread: Re: Totally the general topic in here
- Index(es):
Relevant Pages
|