Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.93 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.93 KB

ScriptBox

box o' scripts in Batch, PowerShell, and Unix (for WSL)

Recommended Install: Add folder(s) to PATH

Local Install: Run in one folder only

  • Open the folder you saved the scripts to (in Windows Explorer)
  • Click the address bar (The long box with the folder path)
  • Type cmd or powershell and hit enter
  • In the console window that pops up, you can run the script
    • powershell scripts need to start with .\ and end with .ps1 (ex: .\Script.ps1 -Param 'Arg')
  • Keep in mind that running the script from another folder is only possible with relative or absolute paths (ie: C:\scripts\ffmpeg\ff-u instead of just ff-u)

Prerequisites

  • Each script has its own prerequisites
  • PowerShell scripts (.ps1) require PowerShell on Windows (you probably already have this; check with powershell in a cmd window)
  • Batch scripts (.bat) require cmd on Windows (all Windows versions have this; type cmd in start menu, or in address bar of Windows Explorer)
  • UNIX scripts (.sh or no extension) require WSL on Windows or a Linux OS

Scripts

Todo


Written with StackEdit.