Hi!
I wonder, if, in case of Findscu.exe, it is possible to read all the options and other parameters from a file ("in-file") ? If yes, how should the format of this file look like?
findscu [options] peer port [dcmfile-in...] =>
findscu "in-file"
Thanks in advance
Nasser Hosseini
Findscu.exe: reading from a file?
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1459
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: Findscu.exe: reading from a file?
Yes, that is possible. All DCMTK tools can read the options from a command file instead of the command line. Just specify the name of the command line with a leading '@':
The file 'commands.txt' should be a simple text file that contains the command line options, separated by space characters or newlines.
Note that at least on Unix systems, wildcard expansion will not work with command files, since the wildcards in filenames are actually processed by the shell (e.g. bash) and not by the application.
findscu @commands.txt
The file 'commands.txt' should be a simple text file that contains the command line options, separated by space characters or newlines.
Note that at least on Unix systems, wildcard expansion will not work with command files, since the wildcards in filenames are actually processed by the shell (e.g. bash) and not by the application.
Re: Findscu.exe: reading from a file?
Thank you for the reply!
Wildcard expansion worked just fine for me in Windows.
Wildcard expansion worked just fine for me in Windows.
-
- OFFIS DICOM Team
- Posts: 1459
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: Findscu.exe: reading from a file?
Yes, that is correct. Wildcard expansion works differently on Windows.
Who is online
Users browsing this forum: No registered users and 1 guest