From 9c9d3f819d72e22ff10a23db42526547c17e289d Mon Sep 17 00:00:00 2001
From: Owen Jones <owen.jones@uwe.ac.uk>
Date: Tue, 8 Oct 2024 12:06:19 +0000
Subject: [PATCH] Windows version of CLI appears to create directory for us,
 but we want to clear it out beforehand to avoid messages about overwritting

---
 quick-connect.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quick-connect.bat b/quick-connect.bat
index aa7bc55..f32be01 100644
--- a/quick-connect.bat
+++ b/quick-connect.bat
@@ -1,6 +1,6 @@
 az config set core.login_experience_v2=off
 az login
 del /q "C:\Users\%username%\.ssh\csctcloud"
-mkdir "C:\Users\%username%\.ssh\csctcloud"
+rmdir "C:\Users\%username%\.ssh\csctcloud"
 az ssh config --ip csctcloud.uwe.ac.uk --file "C:\Users\%username%\.ssh\config" --keys-destination-folder "C:\Users\%username%\.ssh\csctcloud"
 code -n --remote ssh-remote+csctcloud.uwe.ac.uk
\ No newline at end of file
-- 
GitLab