Search found 2 matches

by adventboi0516
31 Dec 2012 00:49
Forum: DOS Batch Forum
Topic: Help w/ understanding %var:~x,y%
Replies: 5
Views: 5297

Re: Help w/ understanding %var:~x,y%

Ohhhh. So the first number is how many digits to SKIP? huh.
by adventboi0516
31 Dec 2012 00:22
Forum: DOS Batch Forum
Topic: Help w/ understanding %var:~x,y%
Replies: 5
Views: 5297

Help w/ understanding %var:~x,y%

I've been playing around with a kind of variable (which I have no idea what the name is). I'm going to use the time system variable as an example. %time:~0,5% That shows the first five digits of the variable, but why does 0 represent the first character in the variable? What the heck? (mindblown) Sh...