Windows 10: Help selecting multiple files & passing to a program. Use Powershell?

Discus and support Help selecting multiple files & passing to a program. Use Powershell? in Windows 10 Support to solve the problem; I have some code written that works on text files. It can work on multiple files. Something like this: myprogram.exe myfile1.txt myfile2.txt... Discussion in 'Windows 10 Support' started by starengine, Aug 21, 2017.

  1. Help selecting multiple files & passing to a program. Use Powershell?


    I have some code written that works on text files.
    It can work on multiple files.

    Something like this: myprogram.exe myfile1.txt myfile2.txt myfile3.txt

    I want to have a Windows interface so I can run my code as described.

    I have a solution! Problem is that on 2 laptops it doesnt work. (All other laptops it works!)

    I have a DOS batch file written with this:

    myprogram.exe %1

    I put this in the sendto folder.
    Now I can select multiple files, right click and choose the SendTo option and then select the batch file.
    Works nicely - except for 2 laptops. Grrrr!!!

    (I simplified the above just for illustration. When the code gets executes, there are spaces and the full paths are used for everything - not a problem.)

    Is there another way? Like say maybe using Powershell? (Which I've never used before)
    Or is there an environment setting I can change on my laptops?

    Thanks.

    :)
     
    starengine, Aug 21, 2017
    #1
  2. garym123 Win User

    Selecting & viewing multiple files to send it through bluetooth

    You can select one file at a time to share via BT.
     
    garym123, Aug 21, 2017
    #2
  3. ketan_gs Win User
    Selecting & viewing multiple files to send it through bluetooth

    Is there any solution foe selecting multiple files including songs, videos documents via blutooth ????????
     
    ketan_gs, Aug 21, 2017
    #3
Thema:

Help selecting multiple files & passing to a program. Use Powershell?

Loading...
  1. Help selecting multiple files & passing to a program. Use Powershell? - Similar Threads - Help selecting multiple

  2. Windows 10 selecting multiple files lagging

    in Windows 10 Network and Sharing
    Windows 10 selecting multiple files lagging: I'm having an issue with Windows 10. Nothing new there, this time it's an old issue that's plaguing me again. Unlisted Video Here: https://youtu.be/YKd0_h4KRis 3 months ago I had this issue and it fixed itself somehow by copying a file from a USB drive to the desktop....
  3. Program auto select in powershell

    in Windows 10 Network and Sharing
    Program auto select in powershell: Hello everyone I'm beginner programming powershell, now i want to program powershell auto select card wifi in Sharing tab, when my customer open file *.ps1 .Powershell will auto select card wifi and customer don't need select, can everyone can help me :( , Thanks very much....
  4. Help needed for working with csv file in powershell

    in Windows 10 Software and Apps
    Help needed for working with csv file in powershell: I have a csv file, I need to extract a few columns from that file and create a csv file with those columns. My csv file is NBN.csv. I tried to extract a few columns in new order. I succeeded in that. But out put is not a csv file as shown below. [img] How to make the out...
  5. Run Multiple Commands In Powershell?

    in Windows 10 Performance & Maintenance
    Run Multiple Commands In Powershell?: Hi, I have three drives in my PC. Two of them are SSD's and the third one is a mechanical HDD. I like to optimize them using Powershell. However, as it stands now. I'm running the commands separately for each of my drive, i.e. 1.) Optimize-Volume -DriveLetter C -ReTrim...
  6. File Explorer Multiple Selection Using BOTH Check Boxes AND Shift Key

    in Windows 10 Customization
    File Explorer Multiple Selection Using BOTH Check Boxes AND Shift Key: I've been trying for months to find a way to use both Check Boxes AND Shift Key for multiple file selection. Searching Google and this forum I haven't found the solution. This thread Shift for selecting multiple Files not working comes close to this but not BOTH. I've been...
  7. Shift for selecting multiple Files not working

    in Windows 10 Customization
    Shift for selecting multiple Files not working: First of all I would like to say how well laid out this forum is. Just joined and hope to find some solution to my problem. Windows 10 has many little problems, her are some with "Shift"! If I want to let's say select 10 Files in Windows File Manager and click on...
  8. Help Selecting Homepage to use with Edge Browser

    in Browsers and Email
    Help Selecting Homepage to use with Edge Browser: I'm very much the amateur user now that I'm a senior citizen. My browser is and will remain Edge. For some reason I switched to the AT&T homepage and am not overly pleased. My email is Yahoo. Due to neurological disease I have cognitive issues I like things not overly...
  9. Run Multiple Commands In Powershell?

    in Windows 10 Performance & Maintenance
    Run Multiple Commands In Powershell?: Good job, @lx07. Of course, you had the benefit of knowing the OP wanted to run the same command on 3 targets. Had I been armed with that same information, I might have made that same suggestion, too. That's why we're better working together than working individually. --Ed--
  10. Multiple Selection -> Open With?

    in Windows 10 Support
    Multiple Selection -> Open With?: Let's say I want to multiple files at once with a specific app. I selected multiple files, and then right click. Where is the open with option? How can I fix this? 31640