This file contains hidden or 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
# Find Naraka: Bladepoint installation path from Steam library folders | |
# Get Steam installation path from registry | |
# Get all Steam library paths from registry | |
$steamLibraries = @() | |
# Try to get main Steam path from both possible registry locations | |
$steamRegPaths = @( | |
"HKLM:\SOFTWARE\WOW6432Node\Valve\Steam" | |
) |
This file contains hidden or 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
# Moves video files under folders to the upper level and adopts the folder name. | |
# for example FolderA\FileA.mp4 => FolderA.mp4 | |
# duplicates will append a number, FolderA_<1-100>.mp4, max 100 files can be moved to the upper level. | |
# | |
# Use cases: | |
# - Movie folders with the movie inside | |
# - Single Album Covers with single or multiple of the same cover. | |
# | |
# Check if the first argument is a folder; otherwise, prompt for a folder | |
# Check if the first argument exists and is a folder; if so, use it as the base directory |
OlderNewer