ne... wrote: > On Sep 8, 2003 at 02:55, James Richard Tyrer in a maddening rage wrote: > > >>David Faure wrote: >> >>>On Monday 08 September 2003 00:26, Henrique Pinto wrote: >>> >>> >>>>Hi, >>>> >>>>Is there any way to pass the name of the directory that is being visualized in >>>>Konqueror to an external app in the "Exec=" line of the desktop file of a >>>>service menu? I tried putting "." and "$PWD", but they always expand to the >>>>home directory, instead of the current one. >>> >>> >>>Try %d >>>(see the "desktop entry standard" on developer.kde.org or in kdelibs/kio) >>> >> >>I think that what he wants is for it to work like this: >> >>Giver and >> >> cd >> >> >>with the "Exec" in a desktop file. >> >>You should be able to use: >> >> cd ; > > In Linux for to act on files in you would > have to do: > > cd && Thank you for being so kind as to correct me. The problem is that what I said is NOT wrong. Also, it isn't a Linux question, it is a Bash question. If you would read the Bash manual, you would see that the use of ";" is correct in this instance. You use it when you need to combine more than one line into one command. -- JRT >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<