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
# Define the path to mkvmerge.exe | |
$mkvmergePath = "C:\mkvmerge.exe" | |
$outputFolder = "Out" | |
# Create the output folder if it doesn't exist | |
if (-not (Test-Path -Path $outputFolder)) { | |
New-Item -ItemType Directory -Path $outputFolder | |
} | |
# Loop through all .mkv files in the current 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
# XLS to XLSX Batch convert script | |
# Forked from https://gist.github.com/gabceb/954418 | |
# Works well using Office 365 | |
$folderpath = "D:\XLS Files" | |
$filetype ="*xls" | |
Add-Type -AssemblyName Microsoft.Office.Interop.Excel | |
$xlFixedFormat = [Microsoft.Office.Interop.Excel.XlFileFormat]::xlWorkbookDefault |