Results 1 to 1 of 1
hi all
i am in strange problem.
i opend a terminal( am in root now)
enterd
cd Desktop
cd one
now am in one directory...
i am using a gtk ...
- 07-19-2007 #1Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
space problem while choosing a file
hi all
i am in strange problem.
i opend a terminal( am in root now)
enterd
cd Desktop
cd one
now am in one directory...
i am using a gtk filechooser...
it will select the file ..
and am giving a printf of the choosing file..
now am selected one->one.txt...
the print in the terminal is
/root/Desktop/one/one.txt....
my problem is..
i would like to choose a file with gtk filechooser
the file name is....
"one of file"...
the above directory or file having spaces
it will print in the termin a like
"/root/Desktop/one of file/one.txt"
here is the problem with space..
i wanna output like this
"/root/Desktop/one\ of\ file/txt"
please help me
thank you in advance"Relationships are built on trust and communication"


Reply With Quote