RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

*SetType

Programmer's Reference Manuals
» *Commands
» *SetType

*SetType

Use

This *Command sets the file type of the named file to the given textual file type or hexadecimal number.

Syntax

*SetType filename filetype

Parameters

filename Valid pathname specifying a file
filetype Filetype text description or 3 digit hexadecimal filetype number

Notes

If the file does not have a date stamp, then it is stamped with the current time and date.

Although the command allows for the three digit hexadecimal code to be used without an Ampersand sign, it is highly recommended that one always be used. This is to stop any ambiguities with three character filetype names.

See also

  • File Types
  • *DOSMap
Revised on November 24, 2016 21:30:18 by Steve Pampling (1551)? (86.185.94.19)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: *Run, *Stamp, *Commands, *Save, FileSwitch *Commands

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys