239
6620-3201
7.2.3 DIR List File Directory
The
dir
command is used to display the
fi
le directory. For example:
dir
direct 3360 ro 07:25:07, 03 Jan 2000 sbios 65536 ro 07:25:07, 03 Jan 2000
image 257508 rw 09:53:46, 20 Jan 2000
sregs.dat
400 rw 09:56:05, 20 Jan 2000
confi g.da0
76 rw 07:19:39, 21 Jan 2000
IR2140.web 80256 rw 22:13:25, 19 Jan 2000
OK
Each line shows the
fi
le name and extension (if any), the
fi
le size (in bytes), the read/write
status (ro = read only, rw = read/write) and the time/date of creation.
Note:
File write operations are carried out as a background task and can be relatively slow due to the
constraints of FLASH memory. As a result, the
fi
le directory may only be updated several seconds
after a particular
fi
le operation has been carried out.
7.2.4 MOVE Move File
The
move
command is used to replace one
fi
le with another whilst retaining the original
fi
lename.
The format is:
move <fromfi le> <tofi le>
For example, the command:
move NEW.WEB IR2140.WEB
will delete the
fi
le called “IR2140.WEB” and then rename the
fi
le called “NEW.WEB” as “IR2140.
WEB”.
7.2.5 REN Rename File
The
ren
command is used to rename
fi
les in the
fi
ling system. The format is:
ren <oldfi lename> <newfi lename>
7.2.6 SCAN Scan File System
The
scan
command performs a diagnostic check on the
fi
le system and reports any errors that are
found. For example:
scan
direct ok sbios ok sregs.dat ok confi g.da0 ok IR2140.web ok
image ok, data ok
The scanning process may take several seconds so you should not enter any other commands until
the results are listed.