in any case, your suggestion
is a helpful reminder of what is
possible.
thanks!
--
db·´¯`·...¸>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen
>
>
"Pegasus [MVP]" wrote in message news:ue8G7xl4KHA.5808@TK2MSFTNGP02.phx.gbl...
> I didn't actually post any script - I merely suggested how one might use such a script once the specs were nailed down properly.
>
> "db" wrote in message news:#a3Lzjk4KHA.4520@TK2MSFTNGP02.phx.gbl...
>> thanks for the script.
>>
>> I know you're an expert
>> with scripts.
>>
>> how I came across
>> the problem is that
>> I had my xp laptop
>> networked to my vista
>> pc to copy over my doc's
>> folder to a dedicated
>> folder on my pc.
>>
>> I do it as a backup plus
>> sometimes I want to edit
>> or view my laptop's files
>> via the pc.
>>
>> I have used the methodology
>> above for a number years and
>> has proven to be flawless for
>> me.
>>
>> however, yesterday the
>> transfer of files from the
>> lap to the pc abruptly stopped
>> with a message citing a
>> particular file had a filename
>> too long.
>>
>> I also noticed that the filename
>> seemed to elude to being a
>> laptop proprietary file or a
>> system file.
>>
>> its' filename was so long that
>> it exceeded the boundaries
>> of the warning msg/pop up..
>>
>> there wasn't any room for
>> the pathname on the msg
>> as well.
>>
>> who knows why such a file
>> would be in my doc's to
>> begin with.
>>
>> butt I simply can not locate
>> it or others that may have
>> the same problem..
>>
>> in any case, I will try
>> out your script as it
>> sounds like a good start
>> to sort out this peculiarity.
>>
>> then I suppose I can
>> import the resulting text
>> file into one of the office
>> modules to sort the data.
>>
>> thanks for the help.
>> .
>> --
>>
>> db·´¯`·...¸>
>> DatabaseBen, Retired Professional
>> - Systems Analyst
>> - Database Developer
>> - Accountancy
>> - Veteran of the Armed Forces
>> - Microsoft Partner
>> - @hotmail.com
>> ~~~~~~~~~~"share the nirvana" - dbZen
>>
>>>
>>>
>>
>> "Pegasus [MVP]" wrote in message news:O0TuDRk4KHA.420@TK2MSFTNGP02.phx.gbl...
>>>
>>>
>>> "db" wrote in message news:57FC20C7-3BF8-411D-A241-CC8815710998@microsoft.com...
>>>> hello,
>>>>
>>>> is the anyone know of a
>>>> program/freeware that
>>>> can search the disk for
>>>> files with "long" file names?
>>>>
>>>> it is laborious to drill down
>>>> dozens of folders and
>>>> hundreds/thousands of
>>>> subfolders hunting down
>>>> down long file names.
>>>>
>>>> for example I found a
>>>> couple of tiles with filenames
>>>> as long as a sentence,
>>>>
>>>> obviously using all the
>>>> amount allotted for
>>>> naming a file.
>>>>
>>>> thanks...
>>>>
>>>> ~db
>>>
>>> You could write a little script "LongFileName.vbs", then apply it like so:
>>>
>>> dir c:\ /s /b /a-d | LongFileName.vbs > c:\LongNames.txt
>>>
>>> The script itself is trivial and would require between 10 and 20 lines of code. You will need to decide what you mean by "long
>>> file name": The name itself or path+name.
>>