Rename a file: Difference between revisions

Content added Content deleted
Line 105: Line 105:


==={{header|Commodore BASIC}}===
==={{header|Commodore BASIC}}===
'''Works with''': Commodore BASIC V2.0 as follows:
'''Works with''' Commodore BASIC V2.0 as follows:


<lang basic>OPEN 15,<Device>,15,"R<DRIVE>:FilenameOLD=FilenameNEW":CLOSE 15</lang>
<lang basic>OPEN 15,<Device>,15,"R<DRIVE>:FilenameOLD=FilenameNEW":CLOSE 15</lang>

'''Works with''' Commodore BASIC 3.5 and above as follows:
<lang basic>RENAME <FilenameOLD>[,D<DRIVE>] TO <FilenameNEW> [ON U<Deviceadress>]</lang>


==={{header|ZX Spectrum Basic}}===
==={{header|ZX Spectrum Basic}}===