Pretty simple situation, just testing command line parameters to try to use some smarter methods.
But they aren't working for me.
Script:
Output:
Read more
But they aren't working for me.
Script:
Code:
@echo off
echo 3- is %3$
echo -3 is %-3$
echo # is %#
echo 0 is %1
echo 1 is %1
echo 2 is %2
echo 3 is %3
echo 4 is %4
echo 5 is %5
echo 6 is %6
echo * is %*
echo @ is %@
Output:
Code:
C:\bat>test-command-line-parameters 1 2 3 4 5 6 7 8 "9"
3- is 3$
-3 is 1$
# is 9
0 is 1
1 is 1
2 is 2
3 is 3
4 is 4
5 is 5
6 is 6
* is 1 2 3 4 5 6 7 8 "9"
@ is "1"...
Read more