FC Beginner: file name with spaces..

Posted on 2006-07-02
Last Modified: 2010-04-20
hi, how do i run command on the file that have spaces in the file name,
eg: James Blunt - Cubicle.rm
Question by:InNoCenT_Ch1ld
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 15

Accepted Solution

veedar earned 250 total points
ID: 17028558
You can escape the spaces with \ like so...

James\ Blunt\ -\ Cubicle.rm

This will also work...


Author Comment

ID: 17028603
icic, tks a lot ;-)
LVL 48

Expert Comment

ID: 17028617
or use quotes

command 'James Blunt - Cubicle.rm'

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
combine Mutt command with a select statement to distribute file in Linux 2 67
Can't connect to FTP 18 161
Windows 10 linux VM 30 93
Parsing RSyslog entries 5 9
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question