command line compression

  • Thread starter Thread starter djc
  • Start date Start date
D

djc

is there a built in command line compression utility in 2k/xp/k3 that does
not require an NTFS file system? I simply need to compress a file before
copying it off to a little usb storage key and I don't want to have to use a
third part utility like winzips command line addon or rar or whatever. I'm
hoping I just don't know what it is because it seems nuts to me that one
would not be included in an OS like Windows. I'm looking for builtin... no
seperate util.. not even resource kit.. works for any filesystem.

can someone please enlighten me?
 
djc said:
is there a built in command line compression utility in 2k/xp/k3 that does
not require an NTFS file system? I simply need to compress a file before
copying it off to a little usb storage key and I don't want to have to use a
third part utility like winzips command line addon or rar or whatever. I'm
hoping I just don't know what it is because it seems nuts to me that one
would not be included in an OS like Windows. I'm looking for builtin... no
seperate util.. not even resource kit.. works for any filesystem.

can someone please enlighten me?
Hi

Sorry, nothing builtin for this...
 
djc said:
is there a built in command line compression utility in 2k/xp/k3 that does
not require an NTFS file system? I simply need to compress a file before
copying it off to a little usb storage key and I don't want to have to use a
third part utility like winzips command line addon or rar or whatever. I'm
hoping I just don't know what it is because it seems nuts to me that one
would not be included in an OS like Windows. I'm looking for builtin... no
seperate util.. not even resource kit.. works for any filesystem.

can someone please enlighten me?
Hi

Got an update on this on e-mail, I was wrong, makecab.exe
is available as a builtin on 2k/xp/k3:


C:\>makecab.exe /?
Microsoft (R) Cabinet Maker - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.

MAKECAB [/V[n]] [/D var=value ...] [/L dir] source [destination]
MAKECAB [/V[n]] [/D var=value ...] /F directive_file [...]

source File to compress.
destination File name to give compressed file. If omitted, the
last character of the source file name is replaced
with an underscore (_) and used as the destination.
/F directives A file with MakeCAB directives (may be repeated).
/D var=value Defines variable with specified value.
/L dir Location to place destination (default is current
directory).
/V[n] Verbosity level (1..3).
 
SWEET! thanks.

Torgeir Bakken (MVP) said:
djc said:
is there a built in command line compression utility in 2k/xp/k3 that does
not require an NTFS file system? I simply need to compress a file before
copying it off to a little usb storage key and I don't want to have to use a
third part utility like winzips command line addon or rar or whatever. I'm
hoping I just don't know what it is because it seems nuts to me that one
would not be included in an OS like Windows. I'm looking for builtin... no
seperate util.. not even resource kit.. works for any filesystem.

can someone please enlighten me?
Hi

Got an update on this on e-mail, I was wrong, makecab.exe
is available as a builtin on 2k/xp/k3:


C:\>makecab.exe /?
Microsoft (R) Cabinet Maker - Version 5.00.2134.1
Copyright (C) Microsoft Corp. 1981-1999.

MAKECAB [/V[n]] [/D var=value ...] [/L dir] source [destination]
MAKECAB [/V[n]] [/D var=value ...] /F directive_file [...]

source File to compress.
destination File name to give compressed file. If omitted, the
last character of the source file name is replaced
with an underscore (_) and used as the destination.
/F directives A file with MakeCAB directives (may be repeated).
/D var=value Defines variable with specified value.
/L dir Location to place destination (default is current
directory).
/V[n] Verbosity level (1..3).

--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top