Create directory structure described by pasted path

Features wanted...
Post Reply
lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Create directory structure described by pasted path

Post by lukescammell »

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.
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

admin
Site Admin
Posts: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Create directory structure described by pasted path

Post by admin »

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.
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. :)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Create directory structure described by pasted path

Post by jacky »

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. :)
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)
Proud XYplorer Fanatic

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

Looking good :D

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?
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

admin
Site Admin
Posts: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Create directory structure described by pasted path

Post by admin »

jacky wrote:
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. :)
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)
Yeah, much better if course!

admin
Site Admin
Posts: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

lukescammell wrote: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?
Okay, I see. But too difficult to implement right now.

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

How long's that list getting Don? ;)
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

That "New Path" feature is pretty cool! 8) 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.
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:That "New Path" feature is pretty cool! 8) 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.
Yep, going there is good. Also would solve the (no-)update issue :wink:

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

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…)

John Bee
Posts: 323
Joined: 01 May 2005 20:21
Location: Win10, Win11 @100%

Post by John Bee »

admin wrote:Yep, going there is good. Also would solve the (no-)update issue :wink:
Ok, l just tried this with 0001.

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: 66254
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

John Bee wrote:Aren't I suppose to end up in the 'Three' folder?
You are! It was a bug, thanks!

Post Reply