I can find a list of invalid characters for CrossDOS filenames
http://wiki.amigaos.net/wiki/AmigaOS_Ma ... h_CrossDOS
but not for standard Amiga filenames. Is there a list?
Invalid Characters
Invalid Characters
Workbench Explorer - A better way to browse drawers
Re: Invalid Characters
Hello mritter0,
I don't think there is. I think path characters (colon and slash) are the only invalid characters. Pattern matching characters are valid (?, #, %, |, ~, *, [, ], (, ), ') as well as double quotation marks.
I don't think there is. I think path characters (colon and slash) are the only invalid characters. Pattern matching characters are valid (?, #, %, |, ~, *, [, ], (, ), ') as well as double quotation marks.
- Janne Peräaho
- broadblues
- AmigaOS Core Developer
- Posts: 600
- Joined: Sat Jun 18, 2011 2:40 am
- Location: Portsmouth, UK
- Contact:
Re: Invalid Characters
Even colon is not invalid in filename , just in a device or volume name. Like wise "/" is is invalid in a file name but not in a volume name.
for example
9.AmigaOS4:> echo blah >ram:foo:
9.AmigaOS4:> list ram:
Directory "ram:" on Tuesday 23-Jun-15
foo: 5 ----rwed Today 11:01:12
Disk.info 76546 ----rwed Today 10:52:26
> ENVARC:Sys/def_RAM.info
Clipboards Dir ----rwed Today 10:52:18
T Dir ----rwed Today 10:52:46
2 files - 74K bytes - 2 directories - 8 blocks used
9.AmigaOS4:>
It's should be avoided though! As should the pattern matching characeters and spaces unless you *really* need them.
for example
9.AmigaOS4:> echo blah >ram:foo:
9.AmigaOS4:> list ram:
Directory "ram:" on Tuesday 23-Jun-15
foo: 5 ----rwed Today 11:01:12
Disk.info 76546 ----rwed Today 10:52:26
> ENVARC:Sys/def_RAM.info
Clipboards Dir ----rwed Today 10:52:18
T Dir ----rwed Today 10:52:46
2 files - 74K bytes - 2 directories - 8 blocks used
9.AmigaOS4:>
It's should be avoided though! As should the pattern matching characeters and spaces unless you *really* need them.
Re: Invalid Characters
Both good and "bad". I was doing my testing in Shell and was getting some errors from names like
But from within Filer it will accept those names. The only invalid 2 are : and / for file names.
Code: Select all
`.c
-.c
=.c
Workbench Explorer - A better way to browse drawers
- broadblues
- AmigaOS Core Developer
- Posts: 600
- Joined: Sat Jun 18, 2011 2:40 am
- Location: Portsmouth, UK
- Contact:
Re: Invalid Characters
name like =.c might well need quoting in the shell
wrong
right
wrong
Code: Select all
8.AmigaOS4:> echo foo >=.c
foo >.c
Code: Select all
8.AmigaOS4:> echo foo >"=.c"
8.AmigaOS4:>