Re: Opening files by extention type
- From: rolfk <x@xxxxxxxx>
- Date: Mon, 22 May 2006 03:10:16 -0500 (CDT)
JeanPierre wrote:Conseils a écrit:Use the 'System Exec.VI' as previously described, you only need to send the document name e.g. "My Doc.DOC"If you want to test it manually be sure to enter quotation marks around the file name at the command prompt.On
Windows XP, I tried System Exec.vi with document path only and it
didn't work with or without quotes. However it works manually in a
command line window.This is because the command line window is the executable "cmd" under Win2K/XP and used to be "command" under Win9x.
If you want to execute internal commands of the DOS shell you have to
prepend the command line executable name to the command you want to do.
And opening a document file by its associated application is an
internal command of the DOS shell (well it really is part of
shell32.dll but the DOS shell does use it to do launching of files that
do not turn out to be executables themselves).
Rolf KalbermatterMessage Edited by rolfk on 05-22-2006 09:58 AM
.
- References:
- Opening files by extention type
- From: mccollumrl
- Opening files by extention type
- Prev by Date: ecrire dans un fichier
- Next by Date: Re: ??Call Library Function Node???
- Previous by thread: Re: Opening files by extention type
- Next by thread: Re: DIO won't work until I use the Test Panel
- Index(es):