LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-28-2009, 05:37 AM   #1
ramanujank
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, 08:19 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,476

Rep: Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020
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.
 
Old 09-03-2009, 03:09 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

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


Reply

Tags
linux


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 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 10:37 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration