From: Zaidy036@isp.spam   
      
   On 1/31/2018 12:35 PM, Terry Pinnell wrote:   
   > Zaidy036 wrote:   
   >   
   >> On 1/31/2018 9:34 AM, Terry Pinnell wrote:   
   >>> JJ wrote:   
   >>>   
   >>>> On Tue, 30 Jan 2018 21:08:21 +0000, 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   
   >>>>   
   >>>> That's odd. No error message at all?   
   >>>> It works on my Win7 system as well as my Win10 VM.   
   >>>> May be something else is interfering.   
   >>>   
   >>> Odd indeed. Given that the modified version from Zaidy works, presumably   
   >>> it's some timing issue? What delay does /WAIT add?   
   >>>   
   >>> Terry, East Grinstead, UK   
   >>>   
   >> /WAIT is optional and then the batch will wait for the program run to   
   >> complete.   
   >>   
   >> in your case do not use /WAIT and batch will finish.   
   >   
   > Excellent, thank you - spent an hour googling in vain for a solution!   
   >   
   > Terry, East Grinstead, UK   
   >   
   why Google? Instead open a command window and enter "START ?/"   
      
   --   
   Zaidy036   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|