CMD interpreter is pretty arcane, but fumbling about last year I came upon the
help file that windows provides...
(this is the shortcut to the file on my pc, your path may be different)
- Code: Select all
C:\WINDOWS\hh.exe C:\WINDOWS\Help\ntcmds.chm::/ntcmds.htm
So I began messing around with
FOR, mainly so I could build a wGET topic downloader
for phpBBS and vBulletin (and other commandline http dealies) and got it to work.
From FOR I wandered over to
Command shell overview and learned how to quote
those ampersands in URLs
- Code: Select all
Notes
The ampersand (&), pipe (|), and parentheses ( ) are special characters that must be preceded by the escape character (^) or quotation marks when you pass them as arguments.
And one thing led to another
I found a website that shows you how to do math with the CMD interepreter (well, basic math)
and I think
for /F will let you process strings so that you can name files with dates in them
that change everyday, and so on.
Some of the
FSUTIL stuff is neat, letting you build a file of a certain size instantly.
One of the wizards on another BBS showed me how to mount external drives as folders, so you don't
have to use Drive letters and can mount them under C: or whatever (I think I forgot that stuff, I might
have notes).
I'm still learning
>