T.R | Title | User | Personal Name | Date | Lines |
---|
200.1 | Don't quote me quote it | CYGNUS::DEBRUYN | Tony - my AMIGA DOS it all for me | Thu Dec 04 1986 09:37 | 23 |
| I am a new AMIGAn so someone please correct me if I am wrong.
To handle file specs with any "funny" characters in them (such as
spaces) put the entire file spec in quotes. This means that a name
such as
DF1:TEST PROG 1
would be used in a CLI command like this
COPY "DF1:TEST PROG 1" TO PRT:
I believe that it is necessary to put the ENTIRE file spec in quotes
not just the file name.
A note on my own learning experience. I made the mistake of us
using a special character in a file name. The problem was that
I tried to include a "/". That hung the whole system, trying to
access a subdirectory that didn't exist. Unfortunately, I only
figured out what was going on after the system hung. Too bad i
had not yet installed the "I didn't mean it" menu option.
|
200.2 | | JOKE::ACCIARDI | | Thu Dec 04 1986 10:24 | 7 |
| You can even specify a directory or volume name with spaces in it
if you enclose the name in quotes; for example....
Dir "THIS IS BULLSHIT:"
Dir "THIS IS BULLSHIT:"OH, REALLY"/"YES REALLY"
|
200.3 | Try this | POMPEO::ZABOT | Marco Zabot-Adv.Tech.mgr-Turin ACT | Fri Dec 05 1986 09:25 | 21 |
| Be aware. Some products ( e.g. SUPERBASE ) when asking for disk
name where to store files DO NOT want disk name in quotes EVEN if
there are spaces in it. This is true if you're giving the disk name
only ( e.g. MY WORK DISK: ). Otherwise you're right.
Amiga DOS manual pag. 6.
.. However, if you use these special characters, you must enclose
the entire file name with double quotes....
Special caracters are:
... any printing character exept slash (/) and colon (:)
Consequently di example in 202.2 should be :
Dir "THIS IS BULLSHIT:OH, REALLY/YES REALLY" (???)
or if you really looking for trouble you can name a file
THIS "FILE" HAS QUOTES
then you can recall it with
"...../THIS *"FILE*" HAS QUOTES"
But believe me, I've never tried it ( YET).
marco
|
200.4 | Got me again | TRUMAN::LEIMBERGER | Bill Leimberger | Sat Dec 06 1986 03:32 | 17 |
| I uploaded a program from the Vax using Dave Weckers vt100 for
the first time and ran into this problem . The file came across
fine but it had ;2 on the end of the name .I could see it when I
ran a directory but could not edit,type,print or do anything else to
it. The error 205 kept coming up .the Amiga-dos manual tells you
that you'v spelt the name wrong when you entered the command line.
It took awhile before I caught on as to what was happening,at that
time I promptly did a
RENAME "filename.ext;n" to filename.ext .
Another gotya for the Amiga, but this is a lesson well learned.
WATCH THOSE NAMES !
OH! When I downloaded startup-sequence to the Vax it truncated the
filename but allowed the file to be accessed .(I knew this)
So the lesson might well have been pay attention to your systems
fundamental conventions.
bill
|
200.5 | Workbench window | JGO::BRUGMAN | | Fri Mar 10 1989 14:40 | 4 |
| You must type rename into the Workbench Window .
Then you must your really name type and press return.
Joris Geutjes Netherlands
|