-------------------------------------------------------------------------------------
 VDISK USAGE
-------------------------------------------------------------------------------------

Usage: vdisk [switches] <diskfile> [filespec]

Commands:
	-l		List disk directory
	-r		Read files from the disk
	-w		Write files to the disk
	-k		Delete (kill) files
	-d		Dump disk sectors

Options:
	-s		Include System files
	-i		Include Invisible files
	-a		Preserve file attributes
	-y		Do not ask for confirmations

File Formats:
	-jv1		Force Jeff Vavasour's JV1 format
	-jv3		Force Jeff Vavasour's JV3 format
	-dmk		Force David Keil's DMK format

Operating Systems:
	-cpm		Force a CP/M compatible interface *
	-dd		Force a DBLDOS compatible interface *
	-dp		Force a DOSPLUS compatible interface
	-mc		Force a MICRODOS compatible interface
	-md		Force a MULTIDOS compatible interface
	-nd		Force a NEWDOS/80 compatible interface
	-os		Force a OS-80 compatible interface *
	-rd		Force a RAPIDOS compatible interface
	-td		Force a TRSDOS 6.x compatible interface
	-td1		Force a TRSDOS 1.x compatible interface
	-td2		Force a TRSDOS 2.x compatible interface
	-td3		Force a TRSDOS 2.7 compatible interface

* Not available yet.

-------------------------------------------------------------------------------------
 USAGE EXAMPLES
-------------------------------------------------------------------------------------

 1. To list files in a disk:

	C:\VDISK>vdisk TRSDOS.DSK

 2. To list files in a disk, including the invisible ones:

	C:\VDISK>vdisk TRSDOS.DSK -i

 3. To export all visibile, non-system, files from a disk:

	C:\VDISK>vdisk TRSDOS.DSK -r

 4. To export all executable (CMD) files from a disk, including the invisible ones:

	C:\VDISK>vdisk TRSDOS.DSK -i -r *.CMD

 5. To write the file "c:\Files\Dummy.txt" to a disk:

	C:\VDISK>vdisk TRSDOS.DSK -w C:\Files\Dummy.txt

 6. To delete the file "CLKTD6X.CMD", without confirmation:

	C:\VDISK>vdisk TRSDOS.DSK -k CLKTD6X.CMD -y

 7. To dump all disk sectors:

	C:\VDISK>vdisk -d TRSDOS.DSK

 8. To direct vdisk's output to a file:

	C:\VDISK>vdisk ... > OUTPUT.TXT

 9. To direct vdisk's output and error messages to different files:

	C:\VDISK>vdisk ... > OUTPUT.TXT 2> ERRORS.TXT

10. To direct vdisk's output and error messages to the same file:

	C:\VDISK>vdisk ... > OUTPUT.TXT 2>&1

-------------------------------------------------------------------------------------
 EXAMPLES DEMONSTRATION
-------------------------------------------------------------------------------------

1. To list files in a disk:

	C:\VDISK>vdisk TRSDOS.DSK

	TRS-80 Virtual Floppy Disk Manager v0.6
	Copyright (c) 2009-2010 Miguel Dutra
	Icon created by Marco Martin (www.notmart.org)
	Get the latest version at www.mdutra.com/vdisk
	Loading Virtual Disk Interface...
	Trying DMK...
	A operao foi concluda com xito.
	Loading Operating System Interface...
	Trying NEWDOS/80...
	O disco ou disquete especificado no pode ser acessado.
	Trying MICRODOS...
	O disco ou disquete especificado no pode ser acessado.
	Trying DOSPLUS...
	O disco ou disquete especificado no pode ser acessado.
	Trying TRSDOS...
	A operao foi concluda com xito.
	COMM    	CMD	  2894	1984-03-15	0006
	COM     	DVR	   950	1984-03-15	0006
	FORMS   	FLT	   917	1984-03-15	0006
	MEMDISK 	DCT	  3005	1984-03-15	0005
	KSM     	FLT	   822	1984-03-15	0006
	HELP    	CMD	  3064	1984-03-15	0006
	CLICK   	FLT	   514	1984-03-15	0006
	DOS     	HLP	 20115	1984-03-15	0000
	FLOPPY  	DCT	   610	1984-03-15	0005
	CONV    	CMD	  1574	1984-03-15	0006
	REPAIR  	CMD	   908	1984-03-15	0006
	LOG     	CMD	   367	1984-03-15	0006
	TAPE100 	CMD	  2100	1984-03-15	0006
	CLKTD6X 	CMD	   183	1981-03-25	1000
	Unloading Operating System Interface...
	Unloading Virtual Disk Interface...
	A operao foi concluda com xito.

2. To list files in a disk, including the invisible ones:

	C:\VDISK>vdisk TRSDOS.DSK -i

	TRS-80 Virtual Floppy Disk Manager v0.6
	Copyright (c) 2009-2010 Miguel Dutra
	Icon created by Marco Martin (www.notmart.org)
	Get the latest version at www.mdutra.com/vdisk
	Loading Virtual Disk Interface...
	Trying DMK...
	A operao foi concluda com xito.
	Loading Operating System Interface...
	Trying NEWDOS/80...
	O disco ou disquete especificado no pode ser acessado.
	Trying MICRODOS...
	O disco ou disquete especificado no pode ser acessado.
	Trying DOSPLUS...
	O disco ou disquete especificado no pode ser acessado.
	Trying TRSDOS...
	A operao foi concluda com xito.
	COMM    	CMD	  2894	1984-03-15	0006
	COM     	DVR	   950	1984-03-15	0006
	FORMS   	FLT	   917	1984-03-15	0006
	MEMDISK 	DCT	  3005	1984-03-15	0005
	KSM     	FLT	   822	1984-03-15	0006
	HELP    	CMD	  3064	1984-03-15	0006
	CLICK   	FLT	   514	1984-03-15	0006
	DOS     	HLP	 20115	1984-03-15	0000
	FLOPPY  	DCT	   610	1984-03-15	0005
	CONV    	CMD	  1574	1984-03-15	0006
	REPAIR  	CMD	   908	1984-03-15	0006
	LOG     	CMD	   367	1984-03-15	0006
	TAPE100 	CMD	  2100	1984-03-15	0006
	FORMAT  	CMD	  4602	1984-03-15	0100
	BACKUP  	CMD	  6425	1984-03-15	0106
	BASIC   	OV1	  2604	1984-03-15	0105
	BASIC   	CMD	 21584	1984-03-15	0106
	MODELA  	III	 14592	1984-03-15	0100
	PATCH   	CMD	  2681	1984-03-15	0106
	CLKTD6X 	CMD	   183	1981-03-25	1000
	Unloading Operating System Interface...
	Unloading Virtual Disk Interface...
	A operao foi concluda com xito.

3. To export all visibile, non-system, files from a disk:

	C:\VDISK>vdisk TRSDOS.DSK -r

	TRS-80 Virtual Floppy Disk Manager v0.6
	Copyright (c) 2009-2010 Miguel Dutra
	Icon created by Marco Martin (www.notmart.org)
	Get the latest version at www.mdutra.com/vdisk
	Loading Virtual Disk Interface...
	Trying DMK...
	A operao foi concluda com xito.
	Loading Operating System Interface...
	Trying NEWDOS/80...
	O disco ou disquete especificado no pode ser acessado.
	Trying MICRODOS...
	O disco ou disquete especificado no pode ser acessado.
	Trying DOSPLUS...
	O disco ou disquete especificado no pode ser acessado.
	Trying TRSDOS...
	A operao foi concluda com xito.
	Exporting "COMM.CMD"... 2894 bytes written.
	Exporting "COM.DVR"... 950 bytes written.
	Exporting "FORMS.FLT"... 917 bytes written.
	Exporting "MEMDISK.DCT"... 3005 bytes written.
	Exporting "KSM.FLT"... 822 bytes written.
	Exporting "HELP.CMD"... 3064 bytes written.
	Exporting "CLICK.FLT"... 514 bytes written.
	Exporting "DOS.HLP"... 20115 bytes written.
	Exporting "FLOPPY.DCT"... 610 bytes written.
	Exporting "CONV.CMD"... 1574 bytes written.
	Exporting "REPAIR.CMD"... 908 bytes written.
	Exporting "LOG.CMD"... 367 bytes written.
	Exporting "TAPE100.CMD"... 2100 bytes written.
	Unloading Operating System Interface...
	Unloading Virtual Disk Interface...
	A operao foi concluda com xito.

4. To export all executable (CMD) files from a disk, including the invisible ones:

	C:\VDISK>vdisk TRSDOS.DSK -i -r *.CMD

	TRS-80 Virtual Floppy Disk Manager v0.6
	Copyright (c) 2009-2010 Miguel Dutra
	Icon created by Marco Martin (www.notmart.org)
	Get the latest version at www.mdutra.com/vdisk
	Loading Virtual Disk Interface...
	Trying DMK...
	A operao foi concluda com xito.
	Loading Operating System Interface...
	Trying NEWDOS/80...
	O disco ou disquete especificado no pode ser acessado.
	Trying MICRODOS...
	O disco ou disquete especificado no pode ser acessado.
	Trying DOSPLUS...
	O disco ou disquete especificado no pode ser acessado.
	Trying TRSDOS...
	A operao foi concluda com xito.
	Exporting "COMM.CMD"... 2894 bytes written.
	Exporting "HELP.CMD"... 3064 bytes written.
	Exporting "CONV.CMD"... 1574 bytes written.
	Exporting "REPAIR.CMD"... 908 bytes written.
	Exporting "LOG.CMD"... 367 bytes written.
	Exporting "TAPE100.CMD"... 2100 bytes written.
	Exporting "FORMAT.CMD"... 4602 bytes written.
	Exporting "BACKUP.CMD"... 6425 bytes written.
	Exporting "BASIC.CMD"... 21584 bytes written.
	Exporting "PATCH.CMD"... 2681 bytes written.
	Exporting "CLKTD6X.CMD"... 183 bytes written.
	Unloading Operating System Interface...
	Unloading Virtual Disk Interface...
	A operao foi concluda com xito.

5. To write the file "C:\Files\Dummy.txt" to a disk:

	C:\VDISK>vdisk TRSDOS.DSK -w C:\Files\Dummy.txt

	TRS-80 Virtual Floppy Disk Manager v0.6
	Copyright (c) 2009-2010 Miguel Dutra
	Icon created by Marco Martin (www.notmart.org)
	Get the latest version at www.mdutra.com/vdisk
	Loading Virtual Disk Interface...
	Trying DMK...
	A operao foi concluda com xito.
	Loading Operating System Interface...
	Trying NEWDOS/80...
	O disco ou disquete especificado no pode ser acessado.
	Trying MICRODOS...
	O disco ou disquete especificado no pode ser acessado.
	Trying DOSPLUS...
	O disco ou disquete especificado no pode ser acessado.
	Trying TRSDOS...
	A operao foi concluda com xito.
	Writing "DUMMY.TXT"... 1289 bytes written.
	No existem mais arquivos.
	Unloading Operating System Interface...
	Unloading Virtual Disk Interface...
	A operao foi concluda com xito.

6. To delete the file "CLKTD6X.CMD", without confirmation:
	
	C:\VDISK>vdisk TRSDOS.DSK -k CLKTD6X.CMD -y

	TRS-80 Virtual Floppy Disk Manager v0.6
	Copyright (c) 2009-2010 Miguel Dutra
	Icon created by Marco Martin (www.notmart.org)
	Get the latest version at www.mdutra.com/vdisk
	Loading Virtual Disk Interface...
	Trying DMK...
	A operao foi concluda com xito.
	Loading Operating System Interface...
	Trying NEWDOS/80...
	O disco ou disquete especificado no pode ser acessado.
	Trying MICRODOS...
	O disco ou disquete especificado no pode ser acessado.
	Trying DOSPLUS...
	O disco ou disquete especificado no pode ser acessado.
	Trying TRSDOS...
	A operao foi concluda com xito.
	Deleting "CLKTD6X.CMD"... Done.
	Unloading Operating System Interface...
	Unloading Virtual Disk Interface...
	A operao foi concluda com xito.

7. To dump all disk sectors:

	C:\VDISK>vdisk -d TRSDOS.DSK

	TRS-80 Virtual Floppy Disk Manager v0.6
	Copyright (c) 2009-2010 Miguel Dutra
	Icon created by Marco Martin (www.notmart.org)
	Get the latest version at www.mdutra.com/vdisk
	Loading Virtual Disk Interface...
	Trying DMK...
	A operao foi concluda com xito.

	[00:0:00]
	00 FE 14 01 00 00 F4 0F 05 F0 08 00 00 00 4B 49 ...........KI
	07 88 0B 00 00 00 44 4F 06 01 0E 00 00 00 50 52 .....DO......PR
	15 08 02 0D 00 00 53 49 17 10 02 0F 00 00 53 4F ......SI......SO
	0A 00 00 0A 00 00 4A 4C FD 21 70 04 FD 7E 09 FD ......JL!p.~.
	77 05 3E 04 32 7B 00 3E C9 32 0E 00 3E 12 FD CB w.>.2{.>2..>.
	04 6E 28 01 87 32 A5 02 D9 0E 06 CD B1 02 D9 CD .n(.2...ͱ.
	68 02 3E FB 32 95 0F E9 CD 97 02 3D 20 0C CD 88 h.>2.͗.=..͈
	02 CD 97 02 77 23 10 F9 18 EE 3D 28 0B CD 97 02 .͗.w#..=(.͗.
	47 CD 97 02 10 FB 18 E0 CD 97 02 47 CD 97 02 6F G͗...͗.G͗.o
	05 CD 97 02 67 05 C9 D9 2C 20 13 C5 06 09 CD 70 .͗.g.,....p
	04 C1 1C 7B D6 00 20 02 5F 14 05 CC B1 02 7E D9 ..{..._..̱.~
	C9 DD 23 DD 23 DD 7E 00 F5 07 07 07 E6 07 CD CE ##~.....
	02 5F F1 E6 1F 3C CD CE 02 47 DD 56 FF C9 C5 57 ._.<.GVW
	AF 06 08 87 CB 21 30 01 82 10 F8 C1 C9 01 88 0F ..!0....
	21 FD 02 7E ED 41 D3 89 2B 05 F2 E3 02 C9 63 50 !.~AӉ+..cP
	56 08 18 00 18 18 00 09 65 09 00 00 00 00 00 00 V.......e.......

	...

	[39:1:17]
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 6D B6 mmmmmmmm
	Unloading Virtual Disk Interface...
	A operao foi concluda com xito.

8. To direct vdisk's output to a file:

	C:\VDISK>vdisk ... > OUTPUT.TXT

9. To direct vdisk's output and error messages to different files:

	C:\VDISK>vdisk ... > OUTPUT.TXT 2> ERRORS.TXT

10. To direct vdisk's output and error messages to the same file:

	C:\VDISK>vdisk ... > OUTPUT.TXT 2>&1

