Updated Copy Utility
#1
Attached is a new and improved version of a file copy utility in BASIC for windows QB64:

This utility contains the following features:

multiple destination netpaths, directories, and filenames,
recursive filelists, target directory structure construction,
deletion of source directory/filenames after complete copy,
skips copying zero-length files, recursive directory copying,
append/over-write destination files, resume copying override,
display overrides for wide display and 8.3 ambiguation,
extended display for file date/time, filesize, and attributes,
override to copy to eof char, convert ascii values and filters,
strip ascii chars, nested recursion directory count override,
override destination file date/time to source or specific values,
copy files based on date/time range, based on filesize range,
filename pattern matching, synchronization of source/destination
date/time/filesize, file attribute comparison/reset/restore,
displays progress of file copying in percentage/bar form,
also calculates time/rate transfered, compares exclusion list,
and can perform dos shell on filenames. Source is PD 2017.


Attached Files .zip   COPYV9R7.ZIP (Size: 587.8 KB / Downloads: 4)
dndbbs project:

Links to my MUD: (strictly 16-bit); AKA XP:

Dndbbs executables
http://www.filegate.net/pdn/pdnbasic/dnd50a1e.zip

Dndbbs source
http://www.filegate.net/pdn/pdnbasic/dnd50a1s.zip

Dndbbs upgrade
http://www.filegate.net/pdn/pdnbasic/dnd50a1u.zip

DNDDOOR - https://bit.ly/EriksDNDDoor DUNGEON - https://bit.ly/EriksDungeon
Interpreter - https://bit.ly/EriksSICK Hex Editor - https://bit.ly/EriksHexEditor Utilities - https://bit.ly/EriksUtils
QB45 files: - https://bit.ly/EriksQB45 QB64shell - https://bit.ly/QB64shell Some old QB64 versions: - https://bit.ly/OldQB64
Reply
#2
These are the most recent upgrades to Copyit:

Code:
v9.0a r7.0a updates:
    Adds /zc to not copy compressed files.
    Adds /ze to not copy encrypted files.

v9.0a r6.0a updates:
    Adds /xc to copy only compressed files.
    Adds /xe to copy only encrypted files.

 v9.0a r5.0a updates:
    Now preserves unicode filenames.
    Now also preserves unicode directories.
    Adds break option to break trap.

 v9.0a r4.0a updates:
    Adds quit option to disk full error.
    Now copies ambiguated unicode filenames.
    Fixes switches in moreprompt.

 v9.0a r3.0a updates:
    Adds skip all to copy prompt.
    Extends moreprompts to be verbose.
    Adds /-5 switch to skip all.

 v9.0a updates:
    Repairs call to parameter in CreateDirectory()
    Successful test with large database using /b3 and with
      source/dest both netpath excluding *.* to copy
      directory structure only.

 v8.0a updates:
    Fixes memory leak in CreateDirectory()
    Only attempts to createdir if not exist.

 v7.0 updates:
    Fixes flags in excluded filelists
    Only copies directories with specified files using /b3

 v6.0 updates: (initial port from v5.5a 16-bit);
    Added check for error x3E6 during CreateDir
    Adds Startdir$ for default directory
    Edits Curdir$ in Readconfig

http://www.thejoyfulprogrammer.com/qb64/...p?aid=2170
dndbbs project:

Links to my MUD: (strictly 16-bit); AKA XP:

Dndbbs executables
http://www.filegate.net/pdn/pdnbasic/dnd50a1e.zip

Dndbbs source
http://www.filegate.net/pdn/pdnbasic/dnd50a1s.zip

Dndbbs upgrade
http://www.filegate.net/pdn/pdnbasic/dnd50a1u.zip

DNDDOOR - https://bit.ly/EriksDNDDoor DUNGEON - https://bit.ly/EriksDungeon
Interpreter - https://bit.ly/EriksSICK Hex Editor - https://bit.ly/EriksHexEditor Utilities - https://bit.ly/EriksUtils
QB45 files: - https://bit.ly/EriksQB45 QB64shell - https://bit.ly/QB64shell Some old QB64 versions: - https://bit.ly/OldQB64
Reply
#3
Very nice work, Erik.
I like to program in BASIC
With code that is simple and slick
I learnt it in school
And it is still cool
So it is my number one pick
Reply
#4
Thanks, it took weeks to port from 16-bit and includes everything I could think of..

Erik.
dndbbs project:

Links to my MUD: (strictly 16-bit); AKA XP:

Dndbbs executables
http://www.filegate.net/pdn/pdnbasic/dnd50a1e.zip

Dndbbs source
http://www.filegate.net/pdn/pdnbasic/dnd50a1s.zip

Dndbbs upgrade
http://www.filegate.net/pdn/pdnbasic/dnd50a1u.zip

DNDDOOR - https://bit.ly/EriksDNDDoor DUNGEON - https://bit.ly/EriksDungeon
Interpreter - https://bit.ly/EriksSICK Hex Editor - https://bit.ly/EriksHexEditor Utilities - https://bit.ly/EriksUtils
QB45 files: - https://bit.ly/EriksQB45 QB64shell - https://bit.ly/QB64shell Some old QB64 versions: - https://bit.ly/OldQB64
Reply