cmd
- noun
- Specialized
- My first instinct was to drop my pseudo-random hex-o-matic code inside the cmd script version of an iterative for loop
Examples
-
In Windows, you get to use it using the command prompt (cmd) in Unix systems by the terminal.
Blog text (22) -
We need to place a script inside the CMD file.
Blog text (19) -
My first step was to get a random number in a CMD script.
Blog text (20) -
After that, I added calls at the beginning and end of the cmd script that ran powershell.exe using the -Command argument and passed a short block of PowerShell commands.
Blog text (20) -
Pass that decimal number through a set of cmd if statements, and out pops a proper pseudo-random hexadecimal digit.
Blog text (20) -
I was tasked with modifying an old CMD script to add an event log entry at the beginning of the script's run and an event log entry when it completed.
Blog text (20) -
What I did not foresee was the possibility of the cmd script running concurrently with an already running instance of the script, thus jumbling the logs and making it impossible to match a start log with its correct end log entry.
Blog text (20) -
It must be different other ways to make undetectable file replications. The danger of this way is that "anyone" can easily make a silent installer or silent "download and executors" just by handling cmd's parameters.
Blog text (17) -
So the next time you whine about how PowerShell should include a Get-GUID cmdlet, just remember, it used to take 577 lines of cmd script to accomplish what $GUID = System.GUID::NewGUID()
Blog text (20) -
To automate the process, I created a cmd file that executes several commands sequentially.
Surface Forms
Etymology
Cmd files take their name from command because they hold a list of 'instructions' for Windows to run. That is why a .cmd file runs a series of commands when you open it.