Search found 3 matches
- 16 Feb 2012 02:24
- Forum: DOS Batch Forum
- Topic: References to filenames and variables in *.bat
- Replies: 8
- Views: 8953
Re: References to filenames and variables in *.bat
Could you help me, tell me why does the code I've posted in the first post doesn't work in an appropriate way?.. there're 21 files named "439GT-0-res.sx" up to "439GT-60000-res.sx" with the step of 3000. The "nfeat.bat" contains an awk program. The idea is that "nf...
- 16 Feb 2012 01:46
- Forum: DOS Batch Forum
- Topic: References to filenames and variables in *.bat
- Replies: 8
- Views: 8953
Re: References to filenames and variables in *.bat
Why are variables mentioned like %f and %b? I'm a newbie and I'm only beginning to study batch and awk syntax, so it's not clear to me 
I know that %1, %2 are mentionings of variables of the command line in order of their appearance, but how do "%f" and "%b" work?

I know that %1, %2 are mentionings of variables of the command line in order of their appearance, but how do "%f" and "%b" work?
- 16 Feb 2012 01:16
- Forum: DOS Batch Forum
- Topic: References to filenames and variables in *.bat
- Replies: 8
- Views: 8953
References to filenames and variables in *.bat
I need to write a batch that would process many input files with similar names like "xxx-yyy-zzz.in". "xxx" and "zzz" are always the same, "yyy" changes and takes values from 0 to 60000 with the step of 3000. All of those files are situated in different subdir...