Going Batsh*t over BAT files

I don't know why I didn't pay much attention to BAT / CMD commands in the past.

Recently though, I've bee using them more and more for all sorts of tasks, especially when accessing files with long path names.

My current "Going Bats" test file is this:

@echo off
rem This is one way to include a comment. Next 2 lines output CRLF's
echo.           <-- causes a line skip, aka print a CRLF
echo.
echo This text will be printed on the CMD console. "Hello World"
echo.
echo See Go BAts foleder in Other Sw tab
echo.
color 1E            <-- causes my console to display as Yellow text on Blue background
                           <-- See also MSFT Learn COLOR CMD (here)
                           <-- more cmds = [cd], [clip], [cls], [date], [dir], [echo], [find],
                                  
[goto], [help], [if], [md], [more], [path], [pause], [print], 
                                   [rename], [time], [timeout], [title], [tree], [type], [where],
                     
[xcopy], [copy], [], [], [], [], [], [], [MSFT Learn all],

echo Console colors should now be yellow fonton blue background
echo Now we change the path to point to the folder of my start up HTML file
cd "C:\Users\{Me}\Documents\U\Desk (real one)\12) PROJECTS of 2026\12c) Browser PROJECTS\12c.1) Browser Home Page 01 design"

echo And we verify that we are there by outputting the directory
dir            <-- causes my console to display contents of current directory
rem below will prevent console from closing so you can see results
pause            <-- causes my console to wait until I hit a key
echo help should show all commands
help            <-- causes my console to display all the available CMD commands
pause

In the below More-to-Explore, I'm inserting all the recent going bats tutorials I found (and related other stuff by same author) Then I will sort the listing to move the better ones to the top ... TO BE CONTINUED

Future plans = Use Dragon Naturally or Whisper to dictate text and copy it to the clipboard, then activate a BAT macro that appends (>>) the clipboard contents to a target file

MORE TO EXPLORE

(AxL) =Ask Leo! -- What’s a Batch File?

SS64 ::: ASCII Table / character codes
LIST ::: How 2 Windows CMD Commands How-to guides - SS64
List of :: A-Z Index of Windows CMD commands - SS64
(TJ) BATs = Useful Command Prompt Tricks You Should Know - YouTube
(TJ) search 4 batch = (28) ThioJoe - YouTube
(craze) Cool CMD commands - Google Search
(craze) BAT playlist = (29) How To Program In Batch - YouTube


Comments

Popular posts from this blog

Links for Python Noobs

The Learn HOW to Learn Page

Welcome to Circular Import Hell