Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-28-2009, 04:37 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Post "cannot access files or folders of an NTFS Win XP share if their names contain space"

i can't;t access from linux the file which are in windows over network having space it is showing me the following error. and disappearing.

"The filename "Computer%20Manuals" indicates that this file is of type "folder". The contents of the file indicate that the file is of type "unknown". If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "unknown", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file."

need your help here.
Old 08-28-2009, 07:19 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
From the Linux side of the world you need to "escape" the space characters in Windows files; e.g., let's say you have a file "abc def ghi.txt" on Windows that you want to view in an editor:
vi {path_to_direcotry}/abc\ def\ ghi.txt
would do that. The back slant is the "escape" character (not an actual escape key character). You can use the same method for directory names too (Windows weenies seem bound and determined to create files and directories as sentences for some unknown reason). Also, if you have to deal with back slants in Windows file names, you use two back slants to escape the single back slant; e.g., if the Windows file name is "abc\def\ghi.txt," you would
... abc\\def\\ghi.txt
Hope this helps some.
Old 09-03-2009, 02:09 PM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text editior that can "see"/open hiddien files/folders?? like .fluxbox linus72 Linux - Software 4 08-11-2009 07:34 AM
Looking for a way to have common folders like "Pictures" that all users can share Charles G Linux - Newbie 5 09-13-2008 11:06 PM
smb.conf having share names ending in "$" the_imax Linux - Server 3 03-11-2008 05:50 AM
How might I restore kmail folders/mail/settings from a "badly" saved "home"? deh6 Linux - Software 5 03-08-2008 09:25 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration