Hello!
I am trying to open IrfanView from within AutoCAD by starting a LISP routine to show an image, but IrfanView only opens the processed image without the ability to browse the previous or next image.
When using the same parameters in a Batch file everything works fine.
Example BAT:
Example LISP:
But why is this happening?
Any help appreciated.
I am trying to open IrfanView from within AutoCAD by starting a LISP routine to show an image, but IrfanView only opens the processed image without the ability to browse the previous or next image.
When using the same parameters in a Batch file everything works fine.
Example BAT:
Code:
start "C:\Path to IrfanView\i_view32.exe" "X:\Some Path\image.jpg"
Code:
(setq imgpath "X:\\Some Path\\image.jpg") (startapp (strcat (chr 34) "C:\\Path to IrfanView\\i_view32.exe " (chr 34) imgpath (chr 34)))
Any help appreciated.
Comment