Would anyone else find the following function useful?
When renaming a directory, if you were to paste a path (eg themes/vanilla/styles/default/ OR themes\vanilla\styles\default\) and hit enter, instead of jsut the "Waaaaaaaaah, I can't have \/ etc in filenames" you were given the option of creating the directory structure described by the path.
I work with FTP and websites on a regular basis and would find this helpful.
Create directory structure described by pasted path
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
Create directory structure described by pasted path
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)
Windows 10 Pro x64 (everywhere except phone…)
-
admin
- Site Admin
- Posts: 66253
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Create directory structure described by pasted path
Why on the rename interface? I would find a command "Create path from clipboard" better. Then you could have a path relative to the current, or absolute (contaning X:\ drive letter or \\server), in the clipboard and create it with one click. Not bad. And it would even accept "/" if I tell it so.lukescammell wrote:Would anyone else find the following function useful?
When renaming a directory, if you were to paste a path (eg themes/vanilla/styles/default/ OR themes\vanilla\styles\default\) and hit enter, instead of jsut the "Waaaaaaaaah, I can't have \/ etc in filenames" you were given the option of creating the directory structure described by the path.
I work with FTP and websites on a regular basis and would find this helpful.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Re: Create directory structure described by pasted path
hmm... or a Create path command with a window that asks for it. One can then Ctrl+V if needed, but also type it in manually, or simply edit what's been paste! (eg. Ctrl+P then edit to change a date, version number, add a prefix, change drive, etc)admin wrote:Why on the rename interface? I would find a command "Create path from clipboard" better. Then you could have a path relative to the current, or absolute (contaning X:\ drive letter or \\server), in the clipboard and create it with one click. Not bad. And it would even accept "/" if I tell it so.
Proud XYplorer Fanatic
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
Looking good 
And actually, it would make sense for XY to interpret / as \ since that's just a *nix/Windows difference, they always mean the same thing when we're talking paths no?
Oh, and on the rename interface, because when I create directories, it automatically activates the rename interface
ie pressing ^N give you a new directory that is asking to be renamed. I create new directories by pressing ^n as it seems the quickest and more logical way to do it no?
And actually, it would make sense for XY to interpret / as \ since that's just a *nix/Windows difference, they always mean the same thing when we're talking paths no?
Oh, and on the rename interface, because when I create directories, it automatically activates the rename interface
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)
Windows 10 Pro x64 (everywhere except phone…)
-
admin
- Site Admin
- Posts: 66253
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Create directory structure described by pasted path
Yeah, much better if course!jacky wrote:hmm... or a Create path command with a window that asks for it. One can then Ctrl+V if needed, but also type it in manually, or simply edit what's been paste! (eg. Ctrl+P then edit to change a date, version number, add a prefix, change drive, etc)admin wrote:Why on the rename interface? I would find a command "Create path from clipboard" better. Then you could have a path relative to the current, or absolute (contaning X:\ drive letter or \\server), in the clipboard and create it with one click. Not bad. And it would even accept "/" if I tell it so.
-
admin
- Site Admin
- Posts: 66253
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Okay, I see. But too difficult to implement right now.lukescammell wrote:Oh, and on the rename interface, because when I create directories, it automatically activates the rename interfaceie pressing ^N give you a new directory that is asking to be renamed. I create new directories by pressing ^n as it seems the quickest and more logical way to do it no?
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
That "New Path" feature is pretty cool!
I'd suggest to add a shortcut to it, like Shift+N or Crl+Alt+N
Also, I think it should definately at least select the newly created folder, maybe even go into the last child created.
All that when in current folder obvisouly, but maybe even when somewhere else. I'd think if one created a new folder on another drive, with another date/version, etc he'd want to go there, if only to make sure it went fine & he didn't screw up or something.
Side note, I noticed that when using this the List/Tree weren't always updated, and the newly-created folder(s) didn't always appeared.
Also, I think it should definately at least select the newly created folder, maybe even go into the last child created.
All that when in current folder obvisouly, but maybe even when somewhere else. I'd think if one created a new folder on another drive, with another date/version, etc he'd want to go there, if only to make sure it went fine & he didn't screw up or something.
Side note, I noticed that when using this the List/Tree weren't always updated, and the newly-created folder(s) didn't always appeared.
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 66253
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yep, going there is good. Also would solve the (no-)update issuejacky wrote:That "New Path" feature is pretty cool!I'd suggest to add a shortcut to it, like Shift+N or Crl+Alt+N
Also, I think it should definately at least select the newly created folder, maybe even go into the last child created.
All that when in current folder obvisouly, but maybe even when somewhere else. I'd think if one created a new folder on another drive, with another date/version, etc he'd want to go there, if only to make sure it went fine & he didn't screw up or something.
Side note, I noticed that when using this the List/Tree weren't always updated, and the newly-created folder(s) didn't always appeared.
-
lukescammell
- Posts: 744
- Joined: 28 Jul 2006 13:15
- Location: Kent, UK
- Contact:
I completely agree with Jacky, as the (four!) times I've used this already (BIG thanks Don
) I've gone in and checked that each dir was there for three of those times. I hadn't nticed what Jacky said, but I like his thinking 
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)
Windows 10 Pro x64 (everywhere except phone…)
-
John Bee
- Posts: 323
- Joined: 01 May 2005 20:21
- Location: Win10, Win11 @100%
Ok, l just tried this with 0001.admin wrote:Yep, going there is good. Also would solve the (no-)update issue
I am in the root of C: and I input the following:
One/Two/Three
and hit enter.
I end up in the One folder which is showing the 'Two' folder in the listview.
Aren't I suppose to end up in the 'Three' folder?
John
Win2K
0001
749ms reload
-
admin
- Site Admin
- Posts: 66253
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
XYplorer Beta Club