--- title: "Disk_rename" id: 77610 type: "computer_media" slug: "disk_rename" url: "http://localhost/computer_media/disk_rename/" markdown_url: "http://localhost/computer_media/disk_rename.md" published_at: "2026-11-18T12:06:35+00:00" modified_at: "2026-11-22T09:55:56+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Renames a QL DD disk in flp1_ by rewriting the name in its first sector." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "QL" slug: "ql" taxonomy: "post_tag" url: "http://localhost/tag/ql/" model: - name: "Sinclair QL" slug: "sinclair-ql" taxonomy: "model" url: "http://localhost/model/sinclair-ql/" indiv: - name: "Howard Clase" slug: "howard-clase" taxonomy: "indiv" url: "http://localhost/indiv/howard-clase/" genre: - name: "Disk Drive Systems" slug: "disk-drive-systems" taxonomy: "genre" url: "http://localhost/type/disk-drive-systems/" media_type: "Diskette" programmers: - name: "Howard Clase" slug: "howard-clase" taxonomy: "indiv" url: "http://localhost/indiv/howard-clase/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Disk_rename%20%281993%29%28Clase%2C%20Howard%29%28Sinclair%20QL%29%28CA%29%28Program%29.zip" mediadate: "1993" article_media: - id: 23795 title: "Howard Clase plays with Disks" type: "article" url: "http://localhost/article/howard-clase-plays-with-disks/" related_content: - id: 77388 title: "Disk_RE_Name" type: "computer_media" url: "http://localhost/computer_media/disk_re_name/" - id: 77611 title: "Disk_rename2" type: "computer_media" url: "http://localhost/computer_media/disk_rename2/" media_type_tags: "Disk Drive Systems" license: false --- # Disk_rename Changes the name of a QL double-density disk in flp1_ without reformatting it. It reads sector 1 of track 0 directly (flp1_*d2d), shows the old name (characters 5 to 14) and writes the new one back; press ENTER to keep the old name. It uses Toolkit II. This is Howard Clase’s own routine, which he extended as Disk_rename2. Published in Sinc-Link November-December 1993 ([Howard Clase plays with Disks](https://timexsinclair.com/article/howard-clase-plays-with-disks/)). ## Source Code ``` 5 nm$= "Disk_rename" 10 REMark h.j.c. 1993.6.25 version 0.9 15 REMark N.B. Uses TK II 20 Rename_disk: Finish: STOP 100 REMark ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 105 DEFine PROCedure Rename_disk 110 CLS: FLP_SEC 2: a$="": n$="" 115 OPEN#3,'flp1_*d2d': GET#3\1,a$ 120 PRINT "Old name = ":a$(5 TO 14) 125 INPUT "New name (ENTER to keep old) = "!n$ 130 IF n$<>"": a$(5 TO 14) = n$: PUT#3\1,a$ 135 END DEFine 200 REMark ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 205 DEFine PROCedure Finish 210 CLOSE: WHEN ERRor :REPORT 215 END DEFine ```