Search found 4 matches
- 22 Oct 2007 01:32
- Forum: DOS Batch Forum
- Topic: passing on unused parameters
- Replies: 2
- Views: 8053
- 19 Oct 2007 11:36
- Forum: DOS Batch Forum
- Topic: passing on unused parameters
- Replies: 2
- Views: 8053
passing on unused parameters
I have a batch file (lets call it doit.bat) which calls doit.exe. doit.bat wants to sonsume the first 3 arguments, and pass any remaining ones to doit.exe. On unix I am used to shifting away the used arguments and hten passing on $*. However in dos %* seems unaffected by shift? is this really the ca...
- 05 Oct 2007 15:29
- Forum: DOS Batch Forum
- Topic: [solved] if A or B
- Replies: 4
- Views: 10956
Wow
this dos command shell is wierd. But thanks for the tip, I think I will use it because I have had to duplicate a lot of code. This looks almost like a gosub (like we used to use so many years ago ..)
- 01 Oct 2007 01:01
- Forum: DOS Batch Forum
- Topic: [solved] if A or B
- Replies: 4
- Views: 10956
[solved] if A or B
is there any way of getting an if A or B (do something) construct?