LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 08-28-2009, 05:37 AM   #1
ramanujank
LQ Newbie
 
Registered: Mar 2009
Posts: 2
Thanked: 0
Post "cannot access files or folders of an NTFS Win XP share if their names contain space"


[Log in to get rid of this advertisement]
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.
windows_xp_2003 ramanujank is offline  
Tag This Post ,
Reply With Quote
Old 08-28-2009, 08:19 AM   #2
tronayne
Member
 
Registered: Oct 2003
Location: Michigan
Distribution: Slackware
Posts: 757
Thanked: 32
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:
Code:
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
Code:
... abc\\def\\ghi.txt
Hope this helps some.
linux tronayne is offline     Reply With Quote
Old 09-03-2009, 03:09 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Kubuntu Karmic Koala
Posts: 17,466
Blog Entries: 4
Thanked: 88
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.
linuxdebian XavierP is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 08:34 AM
Looking for a way to have common folders like "Pictures" that all users can share Charles G Linux - Newbie 5 09-14-2008 12:06 AM
smb.conf having share names ending in "$" the_imax Linux - Server 3 03-11-2008 06:50 AM
How might I restore kmail folders/mail/settings from a "badly" saved "home"? deh6 Linux - Software 5 03-08-2008 10:25 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM


All times are GMT -5. The time now is 02:13 AM.

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