home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,138 of 68,980   
   Terry Pinnell to Zaidy036@isp.spam   
   Re: Novice: how to get this working?   
   31 Jan 18 14:32:20   
   
   From: me@somewhere.invalid   
      
   Zaidy036  wrote:   
      
   >On 1/30/2018 4:08 PM, Terry Pinnell wrote:   
   >> In Windows 10, if I type the following at a command prompt (or in the   
   >> Run box) it works correctly, pasting the clipboard to IrfanView.   
   >>   
   >> "C:\Program Files (x86)\IrfanView\i_view32.exe" /clippaste   
   >>   
   >> I'd like to run it from a batch file, but this is clearly wrong as it   
   >> appears to do nothing.   
   >>   
   >> start "C:\Program Files (x86)\IrfanView\i_view32.exe" /clippaste   
   >> exit   
   >>   
   >> How do I correct it please?   
   >>   
   >> Terry, East Grinstead, UK   
   >>   
   >Full start cmd: START "" [/WAIT] "path to program"   
      
   Thanks! This two liner worked:   
   START "" /WAIT "C:\Program Files (x86)\IrfanView\i_view32.exe"   
   /clippaste   
   exit   
      
   Terry, East Grinstead, UK   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca