Search found 11 matches

by celsius
08 Feb 2020 08:10
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

Sorry for the delay, How was anybody on this planet supposed to ascertain that from your original post. This is a second request, since @Eureka! helps me to solve my primary issue that was I need help to modify this command cmd /c echo|set /p="%2"|clip It copies full path of the selected file, I'd l...
by celsius
07 Feb 2020 11:38
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

Yes, all files with the same extension are copied to clipboard and it is very interesting This is an output example: 4kvideodownloader_4.10.1_x64.zip 4kvideodownloader_4.9.0_x64.zip 4kvideodownloader_4.9.3_x64.zip dsynchronize.zip Everything-1.4.1.935.x64.zip movienizer_portable(1).zip NConvert-win6...
by celsius
07 Feb 2020 08:43
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

Thanks, With your script the filename with extension is copied to clipboard. I didn't explain myself well, sorry. What I mean is the selection in Windows Explorer of all files with the same extension of the already selected file. (Just to be more precise: if you hit "CTRL + a" you select all files i...
by celsius
06 Feb 2020 22:42
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

Thanks!!! I'm very happy :D :D :D The last button I'd like to create is one that selects all files with the same extension of the already selected file. Do you think is possible through the command line? Alternative I need to modify an Autohotkey script? (I know this is not the right forum, sorry)
by celsius
06 Feb 2020 19:28
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

I get on internet the code I posted in my first post. I don't remember anymore what is the site. It's not related with OpenShell.
Even with your code there is nothing copied in the clipboard, its content isn't modified at all
by celsius
06 Feb 2020 13:03
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

Thanks,
Unfortunately it doesn't work
by celsius
05 Feb 2020 11:18
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

In my last attempts, I also tried

Code: Select all

cmd /c echo|set /p="%1"|clip
In this way is it copied the path without the filename. I tried 0 4 5 without luck
Also, I realized that in these cases and in your suggestions is it copied nothing. The clipboard content didn't change
by celsius
05 Feb 2020 10:45
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

Yes, it works well as context menu. Again, as button, the variable is not expanded
by celsius
05 Feb 2020 08:43
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

I'd like to create a button in the explorer toolbar of Open-Shell that allows me to copy the name of the selected file.
I was able to copy only the full path
by celsius
05 Feb 2020 06:50
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Re: Copy name

Thanks,
Unfortunately in my case this solution doesn't work. It is copied only %~n2
I tried the for variable output, but as now, only the variable is copied and not the filename
by celsius
05 Feb 2020 01:41
Forum: DOS Batch Forum
Topic: Copy name
Replies: 27
Views: 30792

Copy name

Hi, Greetings to all users of this forum

I need help to modify this command

Code: Select all

cmd /c echo|set /p="%2"|clip
It copies full path of the selected file, I'd like instead coping only the name without extension
I know this is an elementary request, I'm sorry but, please, be patient