Disktool - Commandline tool for diskimage manipulation
Posted: Sat May 22, 2010 3:29 pm
As per request of Kananga I extracted the disk image manipulation parts out of BasEdit and made a little standalone console application.
Disktool can be used to add, extract, delete, check and list files inside diskimages and even to create new, empty diskimages.
Grab it here: http://www.stojalowski.de/DiskTool/disktool.zip
Needs an installed .NET Framework 3.5, comes as a single exe and without any warranties
Disktool can be used to add, extract, delete, check and list files inside diskimages and even to create new, empty diskimages.
Code: Select all
Console.WriteLine("Usage: disktool -command diskimage [cbmfilename [hostfilename]]")
Console.WriteLine(" -command")
Console.WriteLine(" -c create image")
Console.WriteLine(" -x extract file")
Console.WriteLine(" -a add file")
Console.WriteLine(" -l list files")
Console.WriteLine(" -e exists file")
Console.WriteLine(" -d delete file")
Console.WriteLine("")
Console.WriteLine(" exit codes")
Console.WriteLine(" 0 OK")
Console.WriteLine(" -1 diskimage already exists")
Console.WriteLine(" -2 diskimage does not exist")
Console.WriteLine(" -3 filename does not exist")
Console.WriteLine(" -4 error writing file to diskimage")
Console.WriteLine(" -5 error extracting file from diskimage")
Console.WriteLine(" -6 error deleting file from diskimage")
Console.WriteLine(" -999 unknown command")
Needs an installed .NET Framework 3.5, comes as a single exe and without any warranties
