Saturday, March 27, 2010

Re: Very weird problem regarding startup directory (P.S.)

On 27/03/10 14:14, Tony Mechelynck wrote:
> On 27/03/10 11:59, fterh wrote:
>> After installing gVim and running gvim from the run window, if I were
>> to type :cd followed by a tab, I will get \AppData, \Application Data,
>> etc. Which basically means I'm at my $HOME directory (C:\Users
>> \Fabian). The weird thing is I do not have a \Application Data folder
>> there.
>>
>> But if I were to run gvim.exe from its installation folder, and I
>> type :cd followed by tab, I would get \autoload, \colors, etc. which
>> means I'm at the installation folder.
>>
>> And if I were to pin gvim.exe on to taskbar, upon launch and
>> typing :cd then tab, I will get \Dictionaries and upon hitting tab
>> again I get a beep.
>>
>> I think for the last scenario, I'm at some Adobe folder. Anybody knows
>> how to fix this weird issue? I'd like to pin it to taskbar and upon
>> launch, start in the $HOME directory (C:\Users\Fabian).
>>
>
> If you run [g]vim by invoking it at the command prompt (be it the prompt
> of a Unix shell such as sh, ash, bash, csh, tcsh, ksh, zsh, ... or of a
> Dos/Windows shell like command.com, cmd.exe, ndos.com, 4nt.exe, ...), it
> inherits whichever directory was current when you typed the command.
>
> If you run it by clicking a desktop or system-tray icon, then either the
> icon properties specify a starting directory (and you get that) or they
> don't (and you can get anything).
>
>
> Best regards,
> Tony.

P.S. See also :help :pwd


Best regards,
Tony.
--
There was a young whore from kaloo
Who filled her vagina with glue.
She said with a grin,
"If they pay to get in,
They can pay to get out again too!"

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments:

Post a Comment