I have in windows cmd defined my "custom startup script" (for which AV likes to complain ), in this script I have set %path% that add my dir with extra tools (like: sha256sum, dd, touch, ls...).
I do remember until some version that when I typed command e.g.: "touch readme.txt" TC spawned a cmd and run command inside, so my script got loaded, and it worked, but that changed at some version (don't remember which one) ... I used to type just "touch readme.txt" and I got readme.txt in directory, now I have to open cmd and ...
Maybe there is somewhere a option to change this "back"?
Adding my custom-tool-path to system-wide (or user) %PATH% is out of option.
OT:
For interested - to setup custom startup script:
Create value type: "string" name: "Autorun" in key: "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command"
And here is my script:
Code: Select all
@echo off
rem LS : YaY
doskey ls=ls --color $*
doskey ll=ls -la --color $*
rem Finally set path to sha256sum and ls ^u^
set PATH=%PATH%;d:\projects\bin;
echo Custom tools has been loaded.