Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active February 12, 2019 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fu-sen/36b60fe0cd5a7b3ed674087882eebc32 to your computer and use it in GitHub Desktop.
Save fu-sen/36b60fe0cd5a7b3ed674087882eebc32 to your computer and use it in GitHub Desktop.
Neocities CLI User SWITCH (Windows Batch file) | https://github.com/neocities/neocities-ruby/issues/9
@echo off
setlocal
if "%1"=="" (
set /p USER="input user name>"
) else (
set USER=%1
)
C:
cd C:\Users\%USERNAME%\AppData\Local\neocities
copy /y %USER% config
pause
endlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment