Open multi files with batch file

5,396

Use start command, i.e.:

@echo off
start "c:\Program Files\IrfanView\i_view32.exe" IMG_0707.JPG
start "c:\Program Files\IrfanView\i_view32.exe" IMG_0709.JPG
Share:
5,396

Related videos on Youtube

Tiana987642
Author by

Tiana987642

Updated on September 18, 2022

Comments

  • Tiana987642
    Tiana987642 over 1 year

    I have a trouble when I open multi images with Irfanview . It only opens one file, and after I close the window, it opens next one. I want to open three windows instantly.

    I hope someone help me out.

    Here is my batch files:

     "e:\Program Files\IrfanView\i_view32.exe" "C:\Users\Workgroup23\Documents\Visual Studio 
    
    2008\Projects\OpenCL\OpenCL\outputCPU.pgm" 
    
     "e:\Program Files\IrfanView\i_view32.exe" "C:\Users\Workgroup23\Documents\Visual Studio 
    
    2008\Projects\OpenCL\OpenCL\outputGPU.pgm"
    
     "e:\Program Files\IrfanView\i_view32.exe" "C:\Users\Workgroup23\Documents\Visual Studio 
    
    2008\Projects\OpenCL\OpenCL\lena.pgm"
    

    PS: Merry Christmas :D

  • Tiana987642
    Tiana987642 over 11 years
    Ah, I got your idea. But it's already unchecked :(
  • burtek
    burtek over 11 years
    @Tiana987642 and this one?