Hi
I have been using Win-10 on my t440p. I installed Vim (text editor).
I want to change vim to vi, so I don't have to type vim everytime. I changed vim.exe to vi.exe.
move c:\Program Files (x86)\Vim\vim82\vim.exe c:\Program Files (x86)\Vim\vim82\vi.exe
Is this the best way to do this? Thanks!
Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
Modifying EXE file name ok?
-
- Admin Emeritus
- Posts: 23860
- Joined: Mon Sep 18, 2006 5:17 am
- Location: Loch Garman, Éire
Re: Modifying EXE file name ok?
Nah, in Windows Explorer, just rightclick on vim.exe and change it to vi.exe, that's all.
Or copy vim.exe to somewhere else, rename it there, then move vi.exe back into the original subdir.
That way you can use both vim and vi.
Make sure there is no vi.exe anywhere else and that vim.exe is NOT in use when you make the change.
Or copy vim.exe to somewhere else, rename it there, then move vi.exe back into the original subdir.
That way you can use both vim and vi.
Make sure there is no vi.exe anywhere else and that vim.exe is NOT in use when you make the change.
Lovely day for a Guinness! (The Real Black Stuff)
Re: Modifying EXE file name ok?
You can do this, but then it might cause confusion for other tools that use vim.exe or for when you update the application.
The simplest way, I believe, is to create a batch file, VI.BAT, put it somewhere in the path (C:\WINDOWS maybe), and have it call VIM.EXE %* (%* stands for all commandline arguments).
The simplest way, I believe, is to create a batch file, VI.BAT, put it somewhere in the path (C:\WINDOWS maybe), and have it call VIM.EXE %* (%* stands for all commandline arguments).
Thinkpad 25 (20K7), T490 (20N3), Yoga 14 (20FY), T430s (IPS FHD + Classic Keyboard), X220 4291-4BG
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad
Re: Modifying EXE file name ok?
From memory, NTFS supports hardlinks / symlinks. Just Google it.
Actually, there are MANY ways to skin a cat. (Disclaimer: I don't endorse skinning kitties...)
Actually, there are MANY ways to skin a cat. (Disclaimer: I don't endorse skinning kitties...)
X301: SU9600 | 8GB | 1TB | WXGA+
X1C9: 1185G7 | 32GB | 1TB | WUXGA | WWAN
X1Y8: 1365U | 32GB | 1TB | WUXGA
For the sake of ecology I donated all my classic Thinkpads.
X1C9: 1185G7 | 32GB | 1TB | WUXGA | WWAN
X1Y8: 1365U | 32GB | 1TB | WUXGA
For the sake of ecology I donated all my classic Thinkpads.
Who is online
Users browsing this forum: No registered users and 4 guests