home *** CD-ROM | disk | FTP | other *** search
- Path: zetnet.co.uk!demon!redrobe.demon.co.uk
- From: Mike@Redrobe.demon.co.uk (Mike)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Dumb CLI question:Rename?
- Date: 22 Jan 96 16:08:46 +0000
- Message-ID: <1431.6595T968T2328@Redrobe.demon.co.uk>
- References: <1650.6594T889T1562@ukc.ac.uk>
- NNTP-Posting-Host: redrobe.demon.co.uk
- X-NNTP-Posting-Host: redrobe.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- >>Hi all you experts out there. Anyone willing to help a meek Cando
- >>"programmer??" ;)
-
- >>Anyway, how can one rename a file using a cli command. I can't figure it
- >>out??
-
- >>The file would be something like 'j6034.html' (in ram:) and I want to
- >>rename it through a cli command to 'MoonLanding.mpeg'
-
- >>Could someone post the complete cli syntax for this?
-
- >Rename RAM:j6034.html DH0:GFX/MPEGS/MoonLanding.mpeg
-
- This one will fail ! renaming only works on the same device!
-
- "Copy Ram:j6034.html dh0:mpegs/moonlanding.mpeg "
- is what you want
-
- >Simple.
-
- >The rename syntax is
-
- >Rename fromfile tofile
-
- >>Thanks much, in advance.
-
- >Your welcome.
-
-
- >Hmm..
-
- >Regards Ben
-
- >+--------------------------------------------------------------+
- >| The Ephebians made wine out of anything they could put in a |
- >| bucket, and ate anything that couldn't climb out of one. |
- >| -- (Terry Pratchett, Pyramids) |
- >+-------------+----------------+-------------------------------+
- >| Ben Clifton | bec1@ukc.ac.uk | Talk to me in #AmigaCafe |
- >+-------------+----------------+-------------------------------+
-
- >All life is an illusion. The reallity is yesterday. Cryptic Huh!
-
-
-
-
- Mike
-
- --
- ---------------------------------------------------------------------------
- Mike Redrobe - Mike@Redrobe.demon.co.uk MikeRR on #Amiga
- ---------------------------------------------------------------------------
-
-