Files
TempleOS-Rijn/LT/Doc/FileManager.MUZ
T
2018-09-08 21:45:20 +02:00

90 lines
3.1 KiB
Plaintext

$WW,1$$FG,5$$TX+CX,"File Manager"$$FG$
$FG,2$SHIFT CURSOR$FG$
$ID,2$Select files.
$ID,-2$
$FG,2$CTRL-Y or DELETE KEY$FG$
$ID,2$Delete file or tree.
$ID,-2$
$FG,2$CTRL-INSERT$FG$
$ID,2$Copy selected files to clipboard.
$ID,-2$
$FG,2$SHIFT-INSERT$FG$
$ID,2$Paste clipboard.
$ID,-2$
$FG,2$LEFT-CLICK$FG$
$ID,2$Drag and drop to move a file or tree to a directory.
$ID,-2$
$FG,2$RIGHT-CLICK$FG$
$ID,2$Bring-up menu.
$ID,-2$
$FG,2$ENTER$FG$
$ID,2$Rename file.
$ID,-2$
$FG,2$'m'$FG$
$ID,2$ChangeDisk (Remount removable media). Do not do this on blank disks.
$ID,-2$
$FG,2$'t'$FG$
$ID,2$Add temporary drive. Use this to make a temporary drive for burning CD/DVD's. You should recompile OSMain and make such a drive permanent. Use $LK,"InstallBoot","MN:InstallBoot"$() to recompile.
$ID,-2$
$FG,2$'f'$FG$
$ID,2$Format drive.
$ID,-2$
$FG,2$'M'$FG$
$ID,2$Make CD/DVD ISO file. This creates a file holding an image of the specified drive. The name of the ISO file is $LK,"default_iso_name","MN:default_iso_name"$ and can be redefined in your start-up scripts. You may wish to place it on a different drive.
$ID,-2$
$FG,2$'B'$FG$
$ID,2$Burn CD/DVD ISO file. This burns a CD/DVD using the image file, $LK,"default_iso_name","MN:default_iso_name"$.
$ID,-2$
$FG,5$Instructions on Using CD/DVD's$FG$
$ID,2$If you have not recompiled OSMain and defined your CD/DVD drive, exit the file manager and use $LK,"AddDrives","MN:AddDrives"$ to define your CD/DVD drive. Place a CD/DVD in the drive and press $FG,2$'m'$FG$ when on top of the CD/DVD drive letter to mount the drive. This calls $LK,"ChangeDisk","MN:ChangeDisk"$(), the LoseThos command to mount removable media.
$ID,-2$
$FG,5$Instructions on Burning CD/DVD's$FG$
$ID,2$Create a temporary holding drive in RAM or on disk, copy files into the holding drive. Make a ISO image of the drive by pressing $FG,2$'M'$FG$ when on top of the holding drive. Press $FG,2$'B'$FG$ when on top of the CD/DVD ROM drive to burn the ISO to disk. If you have not recompiled OSMain and defined your CD/DVD drive, exit the file manager and use $LK,"AddDrives","MN:AddDrives"$.
$FG,5$Making a Bootable CD/DVD$FG$
$ID,2$I have the following code in my start-up script.
$FG,2$'E'$FG$ is my primary hard drive LoseThos partition
$FG,2$'T'$FG$ is my CD/DVD drive
$FG,2$'Z'$FG$ is a RAM temporary drive from which I make an ISO image. You could use a file partition instead of RAM.
$FG,4$
#define PROD_CDROM_CONFIG "b10x20000\rt4\r\r\r\r"
void BurnProductionCDImage()
{
Cd("E:/LT");
$FG,2$//This enters my config
//for compiling OSMain.$FG,4$
Auto(PROD_CDROM_CONFIG);
InstallBoot('E','T');
Format('Z',TRUE,FALSE);
Drive('Z');
DelTree("/LT");
CopyTree("E:/LT","/LT");
DelTree("/Temp");
MkDir("/Temp");
DelTree("/Windows");
CopyTree("E:/Windows",
"/Windows");
DelTree("/0000Boot");
CopyTree("E:/0000Boot",
"/0000Boot");
CreateCDFile(default_iso_name,
'Z',CD_BOOT);
WriteCDImage('T',
default_iso_name);
}
$FG$You might study the recovery CD maker in $LK,"::/LT/Accts/Install/DoIt.CPZ","FI:::/LT/Accts/Install/DoIt.CPZ"$.
$FG$
$ID,-2$$ID,-2$