How to resolve the algorithm Rename a file step by step in the TUSCRIPT programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Rename a file step by step in the TUSCRIPT programming language

Table of Contents

Problem Statement

Rename:

This should be done twice:   once "here", i.e. in the current working directory and once in the filesystem root. It can be assumed that the user has the rights to do so. (In unix-type systems, only the user root would have sufficient permissions in the filesystem root.)

Let's start with the solution:

Step by Step solution about How to resolve the algorithm Rename a file step by step in the TUSCRIPT programming language

Source code in the tuscript programming language

$$ MODE TUSCRIPT
- rename file
ERROR/STOP RENAME ("input.txt","output.txt")
- rename directory
ERROR/STOP RENAME ("docs","mydocs",-std-)

  

You may also check:How to resolve the algorithm Old lady swallowed a fly step by step in the ARM Assembly programming language
You may also check:How to resolve the algorithm Inheritance/Multiple step by step in the Objective-C programming language
You may also check:How to resolve the algorithm Bioinformatics/Sequence mutation step by step in the PureBasic programming language
You may also check:How to resolve the algorithm Hailstone sequence step by step in the Lua programming language
You may also check:How to resolve the algorithm Execute SNUSP step by step in the J programming language