Search found 6 matches

by TNTBlast
05 Apr 2012 06:05
Forum: DOS Batch Forum
Topic: Questions on switches and child shells
Replies: 12
Views: 8772

Re: Questions on switches and child shells

Alright I think I'm fine now.

Thank you everyone who replied :D
by TNTBlast
05 Apr 2012 03:43
Forum: DOS Batch Forum
Topic: Questions on switches and child shells
Replies: 12
Views: 8772

Re: Questions on switches and child shells

So is there any other way to create a child shell that will return the error level of everything you do? (Look here to see what I mean http://www.allenware.com/icsw/icsw020.htm it's in the middle of the page)
by TNTBlast
04 Apr 2012 20:09
Forum: DOS Batch Forum
Topic: Questions on switches and child shells
Replies: 12
Views: 8772

Re: Questions on switches and child shells

Sorry ed but could you make your post more clear?

1)First how does /k prevent crashes and what does it do specifically?
2)What does /arguments mean? Is it a comment you are making or a command?
3)What does "%~dp0\" mean?
4)How does this debug specifically?

Thank you.
by TNTBlast
04 Apr 2012 19:55
Forum: DOS Batch Forum
Topic: Questions on switches and child shells
Replies: 12
Views: 8772

Re: Questions on switches and child shells

Thank you for your responses I understand now.

Ed could you please elaborate on what the code you just posted means (especially the /k switch)?
Liviu which resource from dostips would be the best to start at?
by TNTBlast
04 Apr 2012 19:36
Forum: DOS Batch Forum
Topic: Questions on switches and child shells
Replies: 12
Views: 8772

Re: Questions on switches and child shells

I did the same, but it does do what they said it does, but is there even a reason to do what they are asking or is it unnecessary?
by TNTBlast
04 Apr 2012 17:29
Forum: DOS Batch Forum
Topic: Questions on switches and child shells
Replies: 12
Views: 8772

Questions on switches and child shells

I just started learning DOS today and I have been using this http://www.allenware.com/icsw/icswidx.htm as my guide. However there are several things that confuse me. When starting on lesson 2 http://www.allenware.com/icsw/icsw020.htm I found that the command "command /z /k" wouldn't create...