Operating System - HP-UX
1753513 Members
5876 Online
108795 Solutions
New Discussion юеВ

Re: Windows file names in HP-UX

 
Bruce Baillie_1
Occasional Advisor

Windows file names in HP-UX

Because windows 9X/NT allow file names with spaces, occasionally these files
find their way into the HP-UX 10.20 file system. At he present time I must
rename them using meta characters. Will this type of file name be supported in
the future? More importantly, how can this file exist with this name when I
cannot create it? Are the spaces really spaces or some control character?
2 REPLIES 2
Tim Webster_1
Occasional Advisor

Re: Windows file names in HP-UX

Hi Bruce,

You should be able to create filenames now with actual spaces in the name by
surrounding the filename in quotes. For instance:

touch "new file"

Then an ll of new* would show you:

-rw-rw-rw- 1 root sys 0 Oct 29 13:26 new file

So if you have a file with spaces in it you can rename it or move it around as
long as you surround the full file name in quotes. Hope that helps.

- Tim
Bruce Baillie_1
Occasional Advisor

Re: Windows file names in HP-UX

Thanks Tim,
I didn't realize the file name was valid. Unfortunately my application will
not accept it.
Bruce