Page 1 of 1
Execute filename as a comand
Posted: 27 Aug 2024 04:45
by miskox
I was bored.
set computername.cmd :
Saso
Re: Execute filename as a comand
Posted: 27 Aug 2024 09:29
by aGerman
Fortunately you have to use %~n0 in your example. Similarly, it's already been the source for headaches of a lot of people whenever they named the script file the same as any command used in the code
Steffen