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,143 of 68,980   
   Zaidy036 to Terry Pinnell   
   Re: Novice: how to get this working?   
   31 Jan 18 12:07:39   
   
   From: Zaidy036@isp.spam   
      
   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.   
      
   --   
   Zaidy036   
      
   --- 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