topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday October 11, 2024, 2:12 pm
  • Proudly celebrating 15+ 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

Author Topic: Open selected files from a windows folder  (Read 6142 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Open selected files from a windows folder
« on: September 02, 2022, 06:20 AM »
Windows 10
open a folder
select any of the files present on that folder
click for contextual menu and have the option to open these files : subfolder, shortcuts, programs, files associated with any program present in the pc.

Do you have the script for this ?
Best Regards

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,626
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #1 on: September 02, 2022, 10:16 AM »
Just press the <Enter> key after selecting the files/folders.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #2 on: September 02, 2022, 12:01 PM »
 :-\
Only open one folder in the case of three shorcuts to folders.
What Am I doing wrong ?

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,759
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #3 on: September 02, 2022, 12:16 PM »
Only open one folder in the case of three shorcuts to folders.
What Am I doing wrong ?

You asked about opening files/programs, not opening folders.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #4 on: September 02, 2022, 02:31 PM »
Only open one folder in the case of three shorcuts to folders.
What Am I doing wrong ?

You asked about opening files/programs, not opening folders.
Files in a folder in the most general sense.
Excluded hidden files or system files...
 :-* :P

I suppose It's not an easy task. I have tried search in web with no good result until moment.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #5 on: September 02, 2022, 03:52 PM »
Only open one folder in the case of three shorcuts to folders.
What Am I doing wrong ?

You asked about opening files/programs, not opening folders.
I don't use File Explorer, but this may be covered in the Settings / Options. You possibly have it limited to always opening in the same window?
EDIT// which would only allow one folder to open
Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #6 on: September 07, 2022, 02:54 AM »
Only open one folder in the case of three shorcuts to folders.
What Am I doing wrong ?

You asked about opening files/programs, not opening folders.
I don't use File Explorer, but this may be covered in the Settings / Options. You possibly have it limited to always opening in the same window?
EDIT// which would only allow one folder to open
In general seems a difficult subject.

I have a script made in this forum for open all url contained in a folder. With an option in the context mouse menu.
But I haven't see nothing similar for opening a set of files. Even configurable.
AsusPortatil - 07_09_2022 , 9_13_25.pngOpen selected files from a windows folder

If simply is possible to configurate a similar option to open subfolders, programs, urls, shortcuts....
« Last Edit: September 07, 2022, 03:14 AM by Contro »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #7 on: September 07, 2022, 03:30 AM »
In general seems a difficult subject.
did you try what I suggested?
Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #8 on: September 07, 2022, 03:42 AM »
Okay, File Explorer: select items, press return :huh:

  • if more than one file is selected, only one file opens
  • if a file and a folder are selected, the folder opens (file doesnt open)
  • if files and multiple folders are selected, the folders open (see my post about about allowing multiple instances of File Explorer) but the files do not open

In Directory Opus:
select any number of files and folders - each opens as expected (folders in seperate windows)
Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #9 on: September 07, 2022, 03:44 AM »
Okay, File Explorer: select items, press return :huh:

  • if more than one file is selected, only one file opens
  • if a file and a folder are selected, the folder opens (file doesnt open)
  • if files and multiple folders are selected, the folders open (see my post about about allowing multiple instances of File Explorer) but the files do not open

In Directory Opus:
select any number of files and folders - each opens as expected (folders in seperate windows)
Directory Opus is a paid program.
I need only a script for this.
As you express windows explorer don't do what I am asking for.
Best regards
 :-* :P

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,759
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #10 on: September 07, 2022, 11:48 AM »
  • if more than one file is selected, only one file opens

:-\ This surprised me because I was pretty sure selecting multiple files and pressing enter would open all of them. So I did a little testing of my own.

File Explorer in Windows 10 Version 21H2 OS Build 19044.1889.

  • If I select multiple files of the same type and press enter, they all open.
  • If I select multiple files of various types and press enter, whichever one I selected last might open, or none of them open.   
    • For example, if the last selected is a JPG it opens. If the last selected is a PDF it doesn't open.
    • I didn't test this extensively, but I suspect it may have more to do with the default app/program the filetype is set to be opened with than with the filetype itself.
  • If I select one file and one folder, whichever one I selected last opens.
  • If I select one file and a few folders, whichever one I selected last opens (either the file, or all the folders).
  • If I select a few folders, they all open.
  • If I select a lot of folders (~100), none of them open and I usually get an error saying "the parameter is not correct"
  • If I select a lot of folders and files (~200) and press enter, nothing happens.

So basically it appears to have no rhyme or reason.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #11 on: September 07, 2022, 01:17 PM »
So basically it appears to have no rhyme or reason.
The plot thickens ;D
Tom

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #12 on: September 07, 2022, 03:04 PM »
So basically it appears to have no rhyme or reason.
Feels like Microsoft is nerd sniping us ;D

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 736
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #13 on: September 07, 2022, 09:21 PM »
Do you have the script for this?

Hello dear Contro. The code for Enfolder/Folderize can be repurposed to open files and folders (using default program) based on file association.

Please do say if you found a solution. If not, It can be created easily as there is similar existing code to build upon.

Cheers!
My name's Victor but do feel free to call me Vic! (now known as "paradisusvic")

❤️ Support on Patreon @ www.patreon.com/paradisusis
New Email/Paypal: paradisusvicgmail.com

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Open selected files from a windows folder
« Reply #14 on: September 10, 2022, 09:52 AM »
Do you have the script for this?

Hello dear Contro. The code for Enfolder/Folderize can be repurposed to open files and folders (using default program) based on file association.

Please do say if you found a solution. If not, It can be created easily as there is similar existing code to build upon.

Cheers!
I haven't found an answer yet.
I would like a script launchable from the context menu to open the files that are inside a folder

 :-* :P