Archive

Posts Tagged ‘Batch’

Update WSL

December 28th, 2018 No comments

$ sudo apt update
$ sudo apt upgrade

Add parameter to registry from batch

December 28th, 2018 No comments

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "http=proxy-url:port;https=proxy-url:port;ftp=proxy-url:port;socks=proxy-url:port;" /t REG_SZ /f

source

Windows CMD command line

December 8th, 2018 No comments

Top 10 DOS Batch tips (Yes, DOS Batch…)

May 22nd, 2017 No comments
  • Use PUSHD / POPD to change directories
  • Call FTP scripts
  • Read from the registry
  • Run SQL Commands
  • Check if a file or folder exists
  • Pause execution for a number of seconds
  • Use defaults for optional parameters
  • Process each file matching a pattern in a directory
  • Use batch parameter expansion to avoid parsing file or directory info

Link

More:

 

Tags: , ,