Skip to content

Instantly share code, notes, and snippets.

@yoichi
Last active January 16, 2021 07:06
Show Gist options
  • Save yoichi/d8c7c9e6d63dcc7f840517f438e62e61 to your computer and use it in GitHub Desktop.
Save yoichi/d8c7c9e6d63dcc7f840517f438e62e61 to your computer and use it in GitHub Desktop.
:: Create Zoom Meeting shortcut
:: If you have your organization's domain name, rename this file as follows:
:: create_zoom_shortcut_{domain}.bat
echo off
:: file name without extension
set SCRIPT_NAME=%~n0
:: remove "create_zoom_shortcut_"
set DOMAIN=%SCRIPT_NAME:~21%
set /p MEETING_ID=Enter Meeting ID:
set /p PASSCODE=Enter Passcode:
set /p SHORTCUT_NAME=Enter shortcut name to crete:
echo [InternetShortcut]> %SHORTCUT_NAME%.url
echo URL=zoommtg://%DOMAIN%.zoom.us/join?confno=%MEETING_ID%^&pwd=%PASSCODE%>> %SHORTCUT_NAME%.url
echo shortcut created: %SHORTCUT_NAME%
@yoichi
Copy link
Author

yoichi commented Jan 16, 2021

This script has a problem that it couldn't update the cache of explorer.exe.
I've rewrite the script with WScript.Shell:
https://gist.github.com/yoichi/1f446e44cce1d143eb8ca74a15767fea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment