1825795 Members
2310 Online
109687 Solutions
New Discussion

CIFS Client

 
SOLVED
Go to solution
Pando
Regular Advisor

CIFS Client

I have successfully mounted my Windows NT server into my HP-UX. I browse into it using the file manager in Unix and it seems to be ok. However, when i open the terminal windows in CDE and use the command line cd /apps/Measured Data, it does not go the specified directory but also gives the error:

/sbin/sh: cd: The specified substitution is not valid for this command.

BTW, i used the command below in mounting my Windows Shared Folder:

cifsmount /// /

What could be wrong?
Is the space character allowed in naming a directory in unix?


3 REPLIES 3
Darren Prior
Honored Contributor
Solution

Re: CIFS Client

Hi Fernando,

Welcome to the forums ;)

You're right in thinking that the problem is related to the space in the directory name. The space character is allowed, it just makes things a little more awkward! You can quote the directory name:

cd "/apps/Measured Data"

regards,

Darren.
Calm down. It's only ones and zeros...
Pando
Regular Advisor

Re: CIFS Client

Hello Darren,

Thanks for your help.
I appreciate it.
Patrick Wallek
Honored Contributor

Re: CIFS Client

If "Measured Data" is the only thing that starts with Measured in that directory, you could also do something like:

# cd /apps/Measured*