This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set CALIBRE_LIBRARY_DIRECTORY=\\NAS\book\talebook\books\library | |
set CALIBRE_EXE=C:\"Program Files"\Calibre2\calibre.exe | |
IF EXIST %CALIBRE_LIBRARY_DIRECTORY% ( | |
SETX>nul CALIBRE_LIBRARY_DIRECTORY %CALIBRE_LIBRARY_DIRECTORY% | |
ECHO LIBRARY FILES: %CALIBRE_LIBRARY_DIRECTORY% | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# xshell session to mobaxterm session file | |
# Support: TELNET, serial, SSH | |
# Usage: xshell2mobaxterm.py Xshell_Session_Direcotry | |
# Example: python3 xshell2mobaxterm.py C:\Users\USERNAME\Documents\NetSarang Computer\7\Xshell\Sessions > mobaxterm.mxtsessions | |
# Linux platform enviroment: LANG=zh_CN.utf8/en_US.utf8 | |
# Windows: python3.6 cmd run it. | |
import os, sys |
OlderNewer