[Help] Copy the specific folder to clipboard ?
[Help] Copy the specific folder to clipboard ?
Hi
May i ask for a script that copy the specific folder to clipboard ?(path name as variable ,but copy the folder not the path name)
Thanks
May i ask for a script that copy the specific folder to clipboard ?(path name as variable ,but copy the folder not the path name)
Thanks
Re: [Help] Copy the specific folder to clipboard ?
Code: Select all
$item = "Path\to\specific\folder"; //multiple items can be copied at once too. list them here, separated by |
copy $item;
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: [Help] Copy the specific folder to clipboard ?
SammaySarkar wrote:Code: Select all
$path = "Path\to\specific\folder"; //multiple items can be copied at once too. list them here, separated by | copy $item;
Thanks for the help
Re: [Help] Copy the specific folder to clipboard ?
Ofc both variables must have the same name
So use $item instead of $path in the first line.
So use $item instead of $path in the first line.
One of my scripts helped you out? Please donate via Paypal
Re: [Help] Copy the specific folder to clipboard ?
terribly oops-ed!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: [Help] Copy the specific folder to clipboard ?
nvm i use this :
copy "C:\Users\UserXP\Documents\CAPCOM\RESIDENT EVIL 5"
copy "C:\Users\UserXP\Documents\CAPCOM\RESIDENT EVIL 5"
Re: [Help] Copy the specific folder to clipboard ?
Öh. Ctrl + p is probably faster than typing that out^^
One of my scripts helped you out? Please donate via Paypal
Re: [Help] Copy the specific folder to clipboard ?
ctrl+p just copies the name, not the folder itself.
[em. mine]nav wrote:May i ask for a script that copy the specific folder to clipboard ?(path name as variable ,but copy the folder not the path name)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: [Help] Copy the specific folder to clipboard ?
for the folder name only:
CTRL + SHIFT + ALT + p
The path has a trailing backslash (if that matters).
CTRL + SHIFT + ALT + p
The path has a trailing backslash (if that matters).
One of my scripts helped you out? Please donate via Paypal
Re: [Help] Copy the specific folder to clipboard ?
Or in cases when a mouse happens to be around, Ctrl-right-click the items.
Re: [Help] Copy the specific folder to clipboard ?
All of the later posters should read the OP's request again: "Copy the FOLDER to clipboard (not the path of it)"
And shouldn't this work as well for the currently selected item?
copy <curitem>
And shouldn't this work as well for the currently selected item?
copy <curitem>
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
Re: [Help] Copy the specific folder to clipboard ?
You're right, Ralph.
But:
But:
If it isn't specific any more, why not just use Ctrl + c (if it's about a selected item)?And shouldn't this work as well for the currently selected item?
One of my scripts helped you out? Please donate via Paypal
Re: [Help] Copy the specific folder to clipboard ?
True as well, so let the OP decide which tip was the most useful...
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
Re: [Help] Copy the specific folder to clipboard ?
asked for a scriptable way.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: [Help] Copy the specific folder to clipboard ?
Which might have been due to the lack of knowing any easier ways.
Anyway I still believe it's the OP's choice now!
Anyway I still believe it's the OP's choice now!
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)