LinuxQuestions.org
Review your favorite Linux distribution.
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 05-10-2014, 02:27 AM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Rep: Reputation: 1
change directories in wine


Hi,

I have installed a program with wine. I want to add a file to the directory that wine has installed it. As I enter ~/.wine/device_c the ls command shws me:

Quote:
[sryzdn@localhost drive_c]$ pwd
/home/sryzdn/.wine/drive_c
[sryzdn@localhost drive_c]$ ls
EWB512 Program Files Program Files (x86) users windows
The program is in "Program Files (x86)" but I cannot enter this directory using the following command:

Quote:
cd Program\ Files\ (x86)
What is the correct command to enter this directory?
 
Old 05-10-2014, 02:38 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
It's because of the space between Program & Files.
I was trying to copy a program there the other day & noticed the problem.
I thought about temporarily renaming.
 
Old 05-10-2014, 03:27 AM   #3
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by EDDY1 View Post
I thought about temporarily renaming.
Renaming with "rm" needs terminal to unedrstand "Program Files (x86)", am I right?
Is there any other way to rename the file?! (How can I enter ~/.wine other than through terminal?)
 
Old 05-10-2014, 10:07 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,871

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
There is a rename command you might use. Have you tried using double quotes:?

Code:
cd "Program Files (x86/")
 
1 members found this post helpful.
Old 05-10-2014, 11:38 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
In debian I can rename by selecting properties in file manager.
Open Fm got wine, right-click on Program Files,select Properties & edit. Mine would look something like Program_Files.

Last edited by EDDY1; 05-10-2014 at 11:45 AM.
 
  


Reply


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
[SOLVED] Is it possible to change directories?? cbtshare Linux - Newbie 3 03-19-2013 09:34 AM
Can't Change Directories SANA4SPA Linux - Newbie 2 11-25-2011 11:48 PM
wine not finding directories dasy2k1 Linux - Software 2 06-01-2007 06:59 AM
Wine - changing directories with spaces blazintilda2005 Linux - Software 3 12-18-2005 04:05 PM
Wine RPM and directories wasaabi4784 Linux - Software 4 09-09-2004 01:32 AM


All times are GMT -5. The time now is 04:25 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