DOC: @file Does Not Work With Cabarc Utility (200121)



The information in this article applies to:

  • Microsoft SDK for Java 1.51
  • Microsoft SDK for Java 2.0
  • Microsoft SDK for Java 2.01
  • Microsoft SDK for Java 2.02
  • Microsoft SDK for Java 3.0
  • Microsoft SDK for Java 3.1

This article was previously published under Q200121

SUMMARY

According to the Microsoft SDK for Java 3.1 documentation, specifically under "Microsoft SDK for Java 3.1...Programmer's Guide...Tools Reference...Software Distribution Tools...Using Cabarc", you should be able to use the @file option with the cabarc utility as follows:
cabarc n CabName.cab @file FileName.txt
				
where FileName.txt contains a list of files to be added to the cab.

However, the following error message appears when you do this:
Error reading list of files from 'file'

MORE INFORMATION

Instead, use the following:
cabarc n CabName.cab @FileName.txt
				

REFERENCES

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:



(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Mohan Ananthakrishnan, Microsoft Corporation.


Modification Type:MinorLast Reviewed:8/25/2005
Keywords:kbdocerr KB200121