ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Find filenames/folders above certain length and offer to rename them

<< < (3/33) > >>

skwire:
What kind of interface were you thinking?  Simple drag-n-drop listview?  Browse button instead?  Both?

lanux128:
a listview display that allows that drag-n-drop would be nice but i also sometimes copy-paste the paths, so a browse dialog could come in handy.

skwire:
I was thinking a two-column listview.  The first column would be just the filename while the second would have the entire filepath (for reference).  F2 editing will be in place for the first column.  Also...the max length.  I assume this is just determined by the character count in the complete filepath, right?  I was thinking a combobox that would allow the user to enter in any number they wanted (along with some presets like 64, 128, etc).  How does this sound?

lanux128:
a two-column listview would be cool but can the 2nd column be relative to chosen folder like this:

\ <- root
\abc\ <- 1st sub

and so on instead of displaying the filepath.

actually the character count that i'm looking for is the length of <filename.ext> and/or <folder>. :)

e.g.
C:\Program Files <- folder; return 13 characters
C:\PDFZilla\help.chm <- file; return 4 characters

of course, if i choose/drop a folder, there can be an option for recursive scanning.

skwire:
You have me confused.  I've been basing my assumptions on complete path lengths e.g.

c:\path\to\file.ext    <-- Returns 19.

a two-column listview would be cool but can the 2nd column be relative to chosen folder like this:

\ <- root
\abc\ <- 1st sub

and so on instead of displaying the filepath.
-lanux128 (March 11, 2009, 01:25 AM)
--- End quote ---
I need more clarification here.  Example:


--- ---Chosen/dropped path:  c:\path\to
Files in that folder: 
file_1.exe                (c:\path\to\file_1.exe)
file_2.ext                (c:\path\to\file_2.exe)
file_3.ext                (c:\path\to\file_3.exe)
\subfolder_1\file_4.ext   (c:\path\to\subfolder_1\file_4.ext)
\subfolder_1\file_5.ext   (c:\path\to\subfolder_1\file_4.ext)
\subfolder_1\file_6.ext   (c:\path\to\subfolder_1\file_4.ext)
\subfolder_2\file_7.ext   (c:\path\to\subfolder_2\file_7.ext)
\subfolder_2\file_8.ext   (c:\path\to\subfolder_2\file_8.ext)
\subfolder_2\file_9.ext   (c:\path\to\subfolder_2\file_9.ext)

Given the above, you want the listview columns to look like this:


--- ---Filename    | Path
-------------------------------------
file_1.exe  | \file_1.exe
file_2.ext  | \file_2.exe
file_3.ext  | \file_3.exe
file_4.ext  | \subfolder_1\file_4.ext
file_5.ext  | \subfolder_1\file_4.ext
file_6.ext  | \subfolder_1\file_4.ext
file_7.ext  | \subfolder_2\file_7.ext
file_8.ext  | \subfolder_2\file_8.ext
file_9.ext  | \subfolder_2\file_9.ext

Is this correct?

actually the character count that i'm looking for is the length of <filename.ext> and/or <folder>. :)

e.g.
C:\Program Files <- folder; return 13 characters
C:\PDFZilla\help.chm <- file; return 4 characters
-lanux128 (March 11, 2009, 01:25 AM)
--- End quote ---
How does "C:\Program Files" return thirteen?  Are you not counting the "c:\" portion?  If so, why?
How does "C:\PDFZilla\help.chm" return four characters?  Are you only counting the filename minus the extension?  If so, why?

of course, if i choose/drop a folder, there can be an option for recursive scanning.
-lanux128 (March 11, 2009, 01:25 AM)
--- End quote ---
Recursive scanning is assumed.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version