Files
markbench-tests/7z/sevenzip_utils.py
j-lin-lmg 83486887ac L drive mapping (#167)
changed the L drive mappings to match the newest windows procedure
2025-10-02 10:41:48 -07:00

13 lines
379 B
Python

"""utility functions for 7-zip harness"""
import os
import shutil
def copy_from_network_drive():
"""Download 7zip from network drive"""
source = r"\\labs.lmg.gg\labs\01_Installers_Utilities\7ZIP\7zr_25.00.exe"
root_dir = os.path.dirname(os.path.realpath(__file__))
destination = os.path.join(root_dir, "7zr_25.00.exe")
shutil.copyfile(source, destination)