Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 01, 2015, 03:24:24 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: DONE: Right Click any file and create New Folder by its Name  (Read 72098 times)

Rockets

  • Participant
  • Joined in 2011
  • *
  • Posts: 10
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #175 on: November 06, 2014, 05:45:02 PM »
Superb, I have 2 more suggestions:
3. Remember the last text in the text field (make it as option in ini probably?)
4. If you type in the text field, select first radio button automatically

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,392
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #176 on: November 06, 2014, 06:36:17 PM »
Website | Download
v1.1.7 - 2014-11-06
    + The first method's edit field contents are now saved.  (Thanks, Rockets)
    + Typing into the first method's edit field automatically sets the first
      method's radio button.  (Thanks, Rockets)

xd1986k

  • Participant
  • Joined in 2014
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #177 on: November 15, 2014, 10:26:04 AM »
Hello. Would it be possible to add a feature to find common text between files and use that as an name for the folder?
eg we have  files
[Chemistry] Workbook 01.rar
[Chemistry] Workbook 02.rar
[Chemistry] Workbook 03.rar
So the new folder is named [Chemistry] Workbook.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,975
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #178 on: November 15, 2014, 11:21:27 AM »
personally i think xd's idea is a nice one and I'd like to have a shell extension that could do that.  select a bunch of files, right-click, and it finds the common prefix (or suffix), makes a folder based on it, and moves files into it.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,392
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #179 on: November 15, 2014, 09:48:38 PM »
Hi, xd1986k, and welcome to the DonationCoder site.   :)

Hello. Would it be possible to add a feature to find common text between files and use that as an name for the folder?
eg we have  files
[Chemistry] Workbook 01.rar
[Chemistry] Workbook 02.rar
[Chemistry] Workbook 03.rar
So the new folder is named [Chemistry] Workbook.

This is doable.  However, in your example, technically, the common text would be "[Chemistry] Workbook 0" right?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,975
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #180 on: November 15, 2014, 09:57:14 PM »
Ah that's an interesting point..
Technically you are right.

I guess it would be nice to (or have options to):
1. trim any digits off the end of the common prefix found
2. and/or not include any partial word (unless it is the FIRST word)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,392
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #181 on: November 15, 2014, 10:48:11 PM »
I guess it would be nice to (or have options to):
1. trim any digits off the end of the common prefix found
2. and/or not include any partial word (unless it is the FIRST word)

And the hairiness starts...   :-\

Rockets

  • Participant
  • Joined in 2011
  • *
  • Posts: 10
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #182 on: November 19, 2014, 08:13:32 PM »
I think it is better to add a new option to ini file - autofill first field from any filename. It is much easier to edit autofilled value, than to write AI for this simple app.

Rockets

  • Participant
  • Joined in 2011
  • *
  • Posts: 10
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #183 on: November 20, 2014, 09:05:29 AM »
One more thought:

You have an option called "Method=". You can code "Method=0" or "Method=-1" to enable autofill and disable "FolderName="

Rockets

  • Participant
  • Joined in 2011
  • *
  • Posts: 10
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #184 on: April 05, 2015, 07:43:35 AM »
And 1 more suggestion:
autopaste a new name from a clipboard (and make it optional in ini)

zramdt

  • Participant
  • Joined in 2015
  • *
  • gravatar avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #185 on: June 09, 2015, 06:42:41 PM »
Hello !

Thank for your App ! Very helpfull !
I have the following question :
I created hundred of folder with Files 2 Folder (great app.) but they all created with the current date.
Is there a way to configure the program (config.ini ??) so that folders can be created with the source files date ?
Thanks in advance for reply.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,509
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #186 on: June 10, 2015, 04:37:20 AM »
I created hundred of folder with Files 2 Folder (great app.) but they all created with the current date.
Is there a way to configure the program (config.ini ??) so that folders can be created with the source files date ?

just in case Skwire cannot help directly, here is a possible solution:
DONE: Change (sub) folder(s) date based on newest/oldest file in the folder
Tom

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,392
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #187 on: June 10, 2015, 09:48:25 AM »
Is there a way to configure the program (config.ini ??) so that folders can be created with the source files date ?

Hi, zramdt, and welcome to the DonationCoder site.  In regards to your question, no, there currently is no way to make Files 2 Folder work that way.  However, please do check out the application that tomos referred to as I think it's designed to do what you want.

just in case Skwire cannot help directly, here is a possible solution:
DONE: Change (sub) folder(s) date based on newest/oldest file in the folder

I was going to suggest that program, too, tomos.

zramdt

  • Participant
  • Joined in 2015
  • *
  • gravatar avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #188 on: June 10, 2015, 03:32:21 PM »
Hey guys !

Thank you very much for your help and the kick answer.
It work exactly like excepted !

- Files2Folder to get the directories
- SetFolDate for adjusting date of each folder

:o)


hairypaulsack

  • Participant
  • Joined in 2015
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #189 on: July 31, 2015, 04:22:57 AM »
Hey thanks for the awesome program. I use it everyday.
First of all wanted to say that it works great but there are a few hiccups/suggestion.

1. I manually entered a string value with a location to my Files2Folder.exe to use it's icon. Looks more nice in the context menu. Maybe ask users upon installation?

2. Doesn't work with items on my desktop. Actually some weird shit is happening. I'll provide two examples, both from icons on my desktop. The two programs I tested right now (though I have tried this many times in the past) were WinDriStat and OpenIV [Drive space tree image viewer and GTAIV and V modding utility]
2.A. The WinDirStat made an empty folder in C:\Users\%USERPROFILE%\AppData\Local\VirtualStore\Program Files (x86) and did not take or make a copy of the file.
2B. The OpenIV app made it's way to C:\Users\%USERPROFILE%\AppData\Local\New Technology Studio\Apps and made a copy of the program, placed it in a folder of the name (which is kinda properly working) and changed the location in the target value of the original desired item from the desktop.

May this have something to do with them being shortcuts?

3. Finally I'm having issues in protected areas. I can't use the program in say Program Files. I assume this is due to UAC but I edited the properties of the original location of Files2Folder.exe and told it to run as administrator without any success. Trying to run it elevated only produced errors in an inability to locate the Files2Folder.exe item. I tried to run Files2Folders in a command prompt and didn't have any progress. Process Monitor showed the location of Files2Folder.exe with the targeted filed behind it as the command that was run but I guess there are trade secrets lol? Is this code opensource? I'm learning and would love a smaller program to learn a little. I'm at a dead end with Process Monitor and regedit trying to see how the program works.

Thanks
Paul

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,392
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #190 on: August 01, 2015, 03:35:26 PM »
Hi, Paul, and welcome to the DonationCoder site.   :Thmbsup:

Hey thanks for the awesome program. I use it everyday.

You're welcome; I'm glad you find it useful.

1. I manually entered a string value with a location to my Files2Folder.exe to use it's icon. Looks more nice in the context menu. Maybe ask users upon installation?

I'll consider this.  Which hive/key/value did you add?

2. Doesn't work with items on my desktop.
[...]
May this have something to do with them being shortcuts?

Correct, the program doesn't work with .LNK or .URL files.  However, for me at least, regular items seem to work fine on my desktop.  Keep in mind that I have UAC disabled on my computer.

3. Finally I'm having issues in protected areas. I can't use the program in say Program Files. I assume this is due to UAC

It's almost certainly due to UAC.  I know it's not much help, but the app works fine for me in Program Files.  Again, though, I have UAC disabled.  Please keep in mind that F2F was originally developed in 2009 on XP and, due to the massive shell code changes after XP, I'm surprised it works at all under Windows Vista/7/8/10.

web_stalker

  • Participant
  • Joined in 2006
  • *
  • gravatar avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: DONE: Right Click any file and create New Folder by its Name
« Reply #191 on: August 17, 2015, 05:12:21 AM »
Hi,

Is it possible to use regexp to fill the folder name field? To reuse xd1986k's eg.,
[Chemistry] Workbook 01.rar
[Chemistry] Workbook 02.rar
[Chemistry] Workbook 03.rar

I could search for "^(.*) \d+" and name the folder as "$1". Obviously, it would require 2 boxes - first to search with regexp and the second for the folder name and if the pattern could be saved for future reuse, it will be a bonus. Hope you consider it. Thanks.