PC Review


Reply
Thread Tools Rate Thread

Command line utility to copy a file to multiple disks

 
 
Guest
Posts: n/a
 
      7th Nov 2003

I am looking for command line program that will take an existing zip file
and spawn it to the appropriate # of disks.
Thanks.
 
Reply With Quote
 
 
 
 
Terry Russell
Guest
Posts: n/a
 
      7th Nov 2003
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> I am looking for command line program that will take an existing zip file
> and spawn it to the appropriate # of disks.
> Thanks.


for %%A in (c:\x d:\y) do copy z.zip %%A


 
Reply With Quote
 
Guest
Posts: n/a
 
      7th Nov 2003

"Terry Russell" <(E-Mail Removed)> wrote:
><(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>>
>> I am looking for command line program that will take an existing zip file
>> and spawn it to the appropriate # of disks.
>> Thanks.

>
>for %%A in (c:\x d:\y) do copy z.zip %%A


This is what I used and I get an insufficient disk space message.
for %%A in (c:\x a:\y) do copy wp80bkup.zip %%A
 
Reply With Quote
 
rir3760
Guest
Posts: n/a
 
      8th Nov 2003
It was a dark and stormy night when <(E-Mail Removed)> wrote:

> I am looking for command line program that will take an existing
> zip file and spawn it to the appropriate # of disks.


To split a file use Split.exe with the '--bytes' modifier, for
example:

Split --bytes=65536 Test.jpg Part_

will split the file 'Test.jpg' in parts named 'Part_aa', 'Part_ab',
'Part_ac' and so on, each file will have a filesize of 65536 bytes.

To join the parts use Cat.exe with the '-B' modifier, following the
previous example:

Cat -B Part_??>Test_2.jpg

That command will take all the files named 'Part_aa', 'Part_ab',
etc., and will produce a file with the name 'Test_2.jpg'.

If you need more info type the commands:

Split --help
Cat --help

The homepage is:
<http://unxutils.sourceforge.net/>

Hope this helps
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Command-line utility to attach attachments to Outlook.msg file Diane Poremsky [MVP] Microsoft Outlook VBA Programming 0 24th Dec 2009 12:38 AM
Command Line Utility to manipulate file names flahmeshess Microsoft Windows 2000 11 20th Nov 2005 12:32 AM
Command Line copy utility with progress indicator? kger@yahoo.com Freeware 3 4th Nov 2005 03:07 AM
Wanted: Command line YModem file transfer utility for XP Peter Jetson Freeware 0 16th Dec 2004 11:12 PM
Looking for command line file purge utility Klaus Windows XP General 2 4th Nov 2004 09:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:55 PM.