Difference between revisions of "Windows batch"

From Ever changing code
Jump to navigation Jump to search
(Created page with "= References = *[http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true Using batch parameters] *[http://technet.microsoft.com/en...")
 
Line 1: Line 1:
= Text manipulation =
*color 0a - changes text to green
*mode con: cols=80 lines=50 - changes cmd.exe window, no scroll available, type '''mode''' to display the current settings
= References =
= References =
*[http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true Using batch parameters]
*[http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true Using batch parameters]
*[http://technet.microsoft.com/en-us/library/bb490890.aspx Command-line reference A-Z] For tylda parameters look for FOR
*[http://technet.microsoft.com/en-us/library/bb490890.aspx Command-line reference A-Z] For tylda parameters look for FOR
*[http://stackoverflow.com/questions/112055/what-does-d0-mean-in-a-windows-batch-file What does %~d0 mean in a Windows batch file?]
*[http://stackoverflow.com/questions/112055/what-does-d0-mean-in-a-windows-batch-file What does %~d0 mean in a Windows batch file?]

Revision as of 23:20, 22 June 2014

Text manipulation

  • color 0a - changes text to green
  • mode con: cols=80 lines=50 - changes cmd.exe window, no scroll available, type mode to display the current settings

References