diff uninstall.cmd @ 82:6b2c3f14a5c1

Install changes: - Don't use any linking on Windows (requires admin rights). - Reference the global hgignore correctly from hgrc.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 22 Mar 2012 11:11:16 -0700
parents d07ca3d7f36c
children 20c49d51f7e3
line wrap: on
line diff
--- a/uninstall.cmd	Wed Mar 14 11:34:05 2012 -0700
+++ b/uninstall.cmd	Thu Mar 22 11:11:16 2012 -0700
@@ -1,7 +1,8 @@
 @echo off
 setlocal
+    
+set /P confirm=This will delete your configuration files for Vim/Mercurial/etc. OK with that? Press CTRL-C to abort.
 
-rmdir  "%userprofile%\vimfiles"
-del    "%userprofile%\_vimrc"
-del    "%userprofile%\mercurial.ini"
-
+rmdir /Q /S  "%userprofile%\vimfiles"
+del          "%userprofile%\_vimrc"
+del          "%userprofile%\mercurial.ini"