Solved

Span across multiple floppy disks?

Posted on 2001-08-20
14
307 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
Comment Utility
You could zip it. See this component: http://vbaccelerator.com/codelib/zip/zipvb.htm
0
 
LVL 1

Author Comment

by:kevman63
Comment Utility
See appended question.
0
 
LVL 69

Expert Comment

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

Expert Comment

by:Éric Moreau
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
to valli_an

do you have any examples using the PKZip span feature ?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 9

Accepted Solution

by:
Valliappan AN earned 100 total points
Comment Utility
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
Comment Utility
You could specify the path for pkzip.exe, in the Shell command.
0
 
LVL 9

Expert Comment

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

Expert Comment

by:Éric Moreau
Comment Utility
Please maintain.
0
 
LVL 1

Author Comment

by:kevman63
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 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

10 Experts available now in Live!

Get 1:1 Help Now