Makecab Command In Windows server 2008

This article describes the command Makecab in Windows Server 2008 operating system and syntax related with it.
  • 2385

Introduction

Makecab command-line tool is available in Windows Server 2008, Windows 7, Windows Vista, Windows Server 2003 and Windows XP. Makecab command-line tool is used for packaging setup program and compression. This tool is used to compress files.

Syntax

makecab [/v[n]] [/d var=<value> ...] [/l <dir>] <source> [<destination>]
makecab [/v[<n>]] [/d var=<value> ...] /f <directives_file> [...]

In above syntax

Parameter Description
<source> Specifies the file to be compressed.
<destination> Specifies file name given to compressed file.
/f <directives_file> File with makecab directives.
/d var=<value> Variable with specified value.
/l <dir> Location to place destination.
/v[<n>] Defines debugging verbosity level.

Example

makecab d:\FILES\report.txt

OUTPUT:

Clipboard02.jpg

Ask Your Question

Got a programming related question? You may want to post your question here 

 

Categories

More Articles

© 2018 DotNetHeaven. All rights reserved.