Ken,
 
if you were to actually use quotes, only around the directory name, it'll work.
 
e.g.  [root@pbernicc]$ cp "/mnt/win98/program files/filename.txt" /tmp
 
Otherwise, you're right, in that Linux will think you want to copy a file called /mnt/win98/program to files/filename.txt.
 
Take care,
Paul
----- Original Message -----
From: Ken
Sent: Thursday, March 04, 1999 2:36 AM
Subject: [newbie] file copying

I'm trying to copy a file from a FAT32 partition.  It's in the 'c:\Program
Files' of my win98 drive.  When I type "cp /mnt/win98/program
files/filename.txt /tmp/newfilename.txt" I get an error saying it can't
find the file.  I think I know what the problem is, it's the directory
"program files", since it has a space in the directory name.  So how to do
refer to this directory?

Reply via email to