作業フォルダの作成処理
Posted: 2019年05月12日
カレントフォルダに作業フォルダを作成します。
次の内容をファイルに保存して使用してください。
スクリプトはpythonにて作成しています
import os
import datetime
def main() :
path = "Work\Memo"
if (not os.path.exists(path)):
os.makedirs(path)
path = "Work\Editing"
if (not os.path.exists(path)):
os.makedirs(path)
path = "Work\Send"
if (not os.path.exists(path)):
os.makedirs(path)
path = "Work\Receive"
if (not os.path.exists(path)):
os.makedirs(path)
path = "Work\Shortcut"
if (not os.path.exists(path)):
os.makedirs(path)
if __name__ == '__main__':
main()