Files
MultiPar/alpha/tool/batch/auto_c.py
2023-03-20 14:11:07 +09:00

21 lines
564 B
Python

import os
import sys
os.system("TITLE After creation")
# Read command-line arguments
if len(sys.argv) > 0:
this_path = sys.argv[0]
print("Path of this script file =\n" + this_path + "\n")
if len(sys.argv) > 1:
recovery_path = sys.argv[1]
print("Path of a recovery file =\n" + recovery_path + "\n")
if len(sys.argv) > 2:
base_path = sys.argv[2]
print("Path of base directory of source files =\n" + base_path + "\n")
# If you don't confirm result, comment out below line.
input('Press [Enter] key to continue . . .')