--@

Top  Previous 

--@ commandfile

 

Use command file specified by commandfile -- all other command line options are ignored.  The file must have one command per line.

 

For example, assume there is a file called COMMANDS.TXT.  The file may have the following commands:

 

--area "0 0 10 10 inch"

--resolution 300

--unitofmeasure inch

--filetype tif7

--filename "mytif.tif"

--noui

--selectdefault

 

Then the command line:

twainsave --@ commands.txt

 

is equivalent to the following:

twainsave --area "0 0 10 10 inch" --resolution 300 --unitofmeasure inch --filetype tif7 --filename "mytif.tif" --noui --selectdefault

 

The name of the file can be a full path name.  An error is generated if the file cannot be found or opened.  If the file path contains spaces, the filename argument must be enclosed in double quotes:

 

twainsave --@ "c:\My Response Files\response.txt"

 

The number of commands that can be specified in the file is unlimited.  You can use the --@ option to bypass the limitation that the Microsoft Windows operating system has placed on the maximum allowable characters specified at the command prompt.  On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8,191 characters. On computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum length of the string that you can use at the command prompt is 2,047 characters.

 

Default Setting:

No command file is used.