Groups
Sign in
Groups
alt.msdos.batch.nt
Conversations
About
Send feedback
Help
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
Novice: how to get this working?
22 views
Skip to first unread message
Terry Pinnell
unread,
Jan 30, 2018, 4:08:25 PM
1/30/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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
Zaidy036
unread,
Jan 30, 2018, 5:04:07 PM
1/30/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Full start cmd: START "" [/WAIT] "path to program"
--
Zaidy036
JJ
unread,
Jan 31, 2018, 3:49:45 AM
1/31/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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.
Terry Pinnell
unread,
Jan 31, 2018, 9:32:22 AM
1/31/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Thanks! This two liner worked:
START "" /WAIT "C:\Program Files (x86)\IrfanView\i_view32.exe"
/clippaste
exit
Terry, East Grinstead, UK
Terry Pinnell
unread,
Jan 31, 2018, 9:34:35 AM
1/31/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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
Terry Pinnell
unread,
Jan 31, 2018, 9:41:55 AM
1/31/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
One small snag is that, despite the Exit line, the Command Prompt window
remains open (behind the IrfanView window).
Terry, East Grinstead, UK
Zaidy036
unread,
Jan 31, 2018, 12:07:38 PM
1/31/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
/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
Terry Pinnell
unread,
Jan 31, 2018, 12:35:59 PM
1/31/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Excellent, thank you - spent an hour googling in vain for a solution!
Terry, East Grinstead, UK
Zaidy036
unread,
Jan 31, 2018, 1:53:55 PM
1/31/18
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
why Google? Instead open a command window and enter "START ?/"
--
Zaidy036
0 new messages