LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   windows space character equivalent (https://www.linuxquestions.org/questions/linux-networking-3/windows-space-character-equivalent-340448/)

powereds 07-05-2005 11:34 PM

windows space character equivalent
 
hi all,

im a linux newbie. i would like to ask the windows share space character equivalent in linux command line. i got this problem when i try to mount a windows share name with a space in between. when i use vi to edit my fstab file and using the spacebar have a space in between. when i try to mount it, i got an error, the share cannot be found. for example, the windows share name is "cso files", it only detected cso, resulting to share cannot be found because "files" in the "cso files" share name is not detected.

i also found out that windows directory name with space in between got the same result but i found out that the equivalent of space character of windows directory name in linux is ?. for example, i got a windows directory filename "cso users", when i use the linux command line i had to type "cso?users" to access it.

now, when i try to substitute "?" for space in windows sharename, still the sharename cannot be found.

anyone, please help me.

thank you very much in advance.
eds

powereds 07-06-2005 12:01 AM

Hello! Anybody here got any idea?

Noth 07-06-2005 12:07 AM

? is a wildcard, you just got lucky that it worked in the shell.

You could try putting quotes around it or escaping the space with a \, I know those'll work on the command-line, but I don't know about in fstab.

I would just recommend not creating shares with spaces in the names, it causes problems in Windows as well unless you resort to browsing to everything the long way.

powereds 07-06-2005 05:06 AM

thank for your idea. yup! just got lucky :D

i already tried using \ but it doesn't work. I have to find a solution for this problem coz im not the sys ad here that can easily rename the share to be linux compatible.

thanks once again.
eds


All times are GMT -5. The time now is 05:11 AM.