Solved

Span across multiple floppy disks?

Posted on 2001-08-20
14
310 Views
Last Modified: 2010-08-05
doesn't windows have a built-in spanning feature?  if so, how do you invoke it?  if not, is binary file copying the best way to do it?

by the way, i am trying to span a ZIP file across multiple diskettes as part of an export utility, so compressing won't help.

thanks all,  

Kevin hardy
KevinH@topssoft.com
0
Comment
Question by:kevman63
  • 5
  • 4
  • 4
  • +1
14 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 6408083
You could zip it. See this component: http://vbaccelerator.com/codelib/zip/zipvb.htm
0
 
LVL 1

Author Comment

by:kevman63
ID: 6408093
See appended question.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 6408109
You can rezip a file to span it.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 6408248
You can also see this: http://www.vb-helper.com/howtoadv.htm (search for "Split a file into pieces and reassemble it (18K) ")
0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6408595
Hi!

Here's some files for you over the net:

Download...
http://www.planetsourcecode.com/vb/scripts/ShowZip.asp?lngWId=1&lngCodeId=14461&strZipAccessCode=ODE%5F144613411

Description: CuteSplit 2.0


Download...
http://www.planetsourcecode.com/vb/scripts/ShowZip.asp?lngWId=1&lngCodeId=22953&strZipAccessCode=yber229531921

Description: This is another wonderful CyberCrypt version which includes two new Utilitys, 1: Self-Extracting EXE creator, 2: File splitter. I have done some editing to code in this program, and made it better for the user. I'd just like to thankyou all for voting contest winner for version 7.0 of CyberCrypt. For that i've also added some good graphical advances to make the user interface look better. If you think this is good then please vote, i'd also like some ideas...



Download...
http://www.planetsourcecode.com/vb/scripts/ShowZip.asp?lngWId=1&lngCodeId=14087&strZipAccessCode=ODE%5F140873321

Description: A powerful and very quick compression program using the 32bit zlib.dll (V1.1.3) compression library originally written by Jean-loup Gailly and Mark Adler (variation of LZ77 Lempel-Ziv 1977 algoritm). The application is implemented through an extensive ArielZip class and a Winzip like client interface. Features * Powerful and very fast - compresses 6000 kb data files to 1500 kb (25%) in 2.1 seconds! * Multiple disk spanning with automatic sensing of disk capacity * User friendly floppy disk change dialogue showing contents of disk to be overwritten * Single and multiple file extraction * Extracted icons included in archive as bitmaps * 9 compression levels * Add folders and subfolders through recursive scanning of FSO objects * Add files with multiple file selection * Delete files from list and archive * Refresh files * File association of .azp extension with default icon using regobj.dll (included in zip file). Other Programming Features - About box referencing application object (revision etc) - Custom Folder browse control implementing BrowseForFolder (ArielBrowseControl) - Extensive use of FileSystemObject (requires scripting runtime dll) - Automatic sensing of floppy disk insertion/removal - Demonstration of toolbar control - Small icon extraction using SHGetFileInfo calls in shell32.dll lib - Extensive usage of CopyMem (Kernel32) - Access the system temp folder through GetTempPath (kernel32) - Registering of azp file type and associated default icon through regobj.dll - Ini file manipulation using GetProfile and SaveProfile functions Credits and links: see readme.txt file
 
Hope it helps!

That's it!

glass cookie : )
0
 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6408797
hi, you could use pkzip.exe, in which, already there is a floppy disk spanning option. You would need to give like this:

pkzip -& a:zipfile zipspec

Note: you could enclose the & with quotes, since, it might not work in NT4, otherwise.

Hope this helps.

Cheers.
0
 
LVL 1

Author Comment

by:kevman63
ID: 6410488
to valli_an

do you have any examples using the PKZip span feature ?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 9

Accepted Solution

by:
Valliappan AN earned 100 total points
ID: 6411994
Try this:

Dim lZipPath As String
dim lZipSpec As String

lZipPath="a:\zipfile"
lZipSpec="*.fr* *.vb* *.bas"
Shell "C:\Command.com /C pkzip.exe -& " & lZipPath & " " & lZipSpec
Msgbox "Copy Completed."

'If you need to trap errors if any, I can give a try.

Hope it helps.
0
 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6411997
You could specify the path for pkzip.exe, in the Shell command.
0
 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6412000
You can get it from www.pkware.com, in its downloads section.
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 6449503
Please maintain.
0
 
LVL 1

Author Comment

by:kevman63
ID: 6453830
thanks, the PKZIP worked great... but i cannot use that method.  but you were right, so here you go!

Thanks again, Kevman63
0
 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6455382
You are welcome. Would you require more clarifications let me know, for the reason you graded 'B'.

Cheers
0
 
LVL 1

Author Comment

by:kevman63
ID: 6457902
well, the B is there because you answered part of my question, but nor how i meant.  i ended up not using PKZIP (license fees if i am to distribute their software), bu instead span it myself with binary file copy.  slow but steady!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA: Add rows to listbox based on criteria 7 73
Macro: print each sheet to pdf using ExportAsFixedFormat 11 40
Copy a row 12 57
Problem to With line 4 39
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now