Search found 61 matches

by shadeclan
29 Jun 2011 13:08
Forum: DOS Batch Forum
Topic: Quick Syntax Question
Replies: 11
Views: 8374

Re: Quick Syntax Question

@echo off goto :skip echo.ooops !:skip Are u smoking a joint ? echo.Yes, am I allowed ? goto :skip echo.ooops &:skip Are u smoking a joint ? echo.Yes, am I allowed ? goto :skip echo.ooops |:skip Well, since you are dutch... echo.Yes, you are allowed. echo.Have fun ^! goto :skip echo.ooops >:ski...
by shadeclan
29 Jun 2011 12:25
Forum: DOS Batch Forum
Topic: Quick Syntax Question
Replies: 11
Views: 8374

Re: Quick Syntax Question

Ummm I think you just hit the spacebar or tab keys. Ha ha. Very funny. ...And actually ":$Created" is a valid label. I've seen those comments before too and the best explainations I could come up with as educated guesses are: 1. Style 2. Self Parsing 3. Self parsing and Style So, the doll...
by shadeclan
29 Jun 2011 09:13
Forum: DOS Batch Forum
Topic: Quick Syntax Question
Replies: 11
Views: 8374

Quick Syntax Question

I've noticed a syntax in the functions section for batch information that I can't find any info on. For example, I noticed that comments like the created date are written: :$Created 20110639 Is this a form of code commenting because the dollar symbol is an illegal character in a label, similar to th...
by shadeclan
09 Jun 2011 06:28
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

Why did I say "noticeably" ?, should have just said; 'Might be faster', cause I never tested the speed Well, my first point was that it made the code more "sensible" and easier to read for people who might not be as acquainted with DOS script as is Super-Batcher Mr. Dyreen . One...
by shadeclan
07 Jun 2011 08:01
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

To return to the original subject, how's about a function library? @echo off setlocal enabledelayedexpansion set p1=%1% goto:BEGIN :here @echo Here function executed! exit /b 0 :there @echo There - function executed! exit /b 0 :BEGIN if defined p1 goto:LIBRARY goto:END :LIBRARY if /i %p1%==here call...
by shadeclan
06 Jun 2011 11:49
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

CMDOW u say ?, I've heard about it http://www.dostips.com/forum/viewtopic.php?f=3&t=365&start=0&hilit=cmdow Well, you obviously have been using CMDOW for a long time, but I don't know what language this is nor have I ever seen CMDOW used as an object in code. It's an EXE - what, did you...
by shadeclan
06 Jun 2011 11:05
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

I know what you mean. I program for New York State, which is even farther behind the technological curve than the private sector. We've got legacy systems stretching the gamut from mainframe COBOL and M204 to web programming and everything in between. Of course, our bosses want everyone to know how ...
by shadeclan
06 Jun 2011 10:38
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

We already solved no problem. And it's your thread, you talk about whatever you want. Or is this no problem of us showed up again. Just post a bit of code here and there, then people'll think we have a problem LOL! On most forums, sticking to the topic is strictly enforced. It might be that this pa...
by shadeclan
06 Jun 2011 10:14
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

I've just recently exposed my origin, you couldn't have known it before Oh, good. I'm not a complete moron then! And if one goes down, we'll all go down. Belgium is in the EU then? Bad move. Things don't look so good, with Portugal, Italy, Greece and Spain being bailed out by the trillions. Of cour...
by shadeclan
06 Jun 2011 06:36
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

Incredible! , I made the name up to use it as my nickname. I did not know it actually exists! Talking about coincidence Oh, this is hilarious! I was about to ask you where you were and only now noticed that the left column where the user names shows your location as "Flanders"! Just call ...
by shadeclan
03 Jun 2011 07:59
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

I've tried: START /b /wait CMD exit I don't see any problems here &it works for me, so can't help u on that. But I also know CMD can sometimes cause other applications that have been started with it to behave strange or not at all when a large amount of variables are loaded. Try using "STA...
by shadeclan
03 Jun 2011 07:44
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

your bedside manner Don't understand that sorry, I forgot to tell English is not my native language. You may or may not already have noticed. Could you repeat that with different words? Apart from this sentence I understood everything you wrote. Oh, sorry. I always assume that English is the first ...
by shadeclan
03 Jun 2011 06:51
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

I do believe you may have had problems, but I also believe your coding has something to do with it . That's always possible. I don't claim to be the world's greatest programmer but I do enjoy it. I'm one of those weirdos that write code in their spare time even though I code for a living. I was usi...
by shadeclan
02 Jun 2011 13:05
Forum: DOS Batch Forum
Topic: Batch Functions: goto:eof, exit /b and structure.
Replies: 29
Views: 50126

Re: Batch Functions: goto:eof, exit /b and structure.

When would it not terminate properly ? I have a batch routine that I run every morning to start applications I use every day and configure my desktop environment to my liking. I run a batch job instead of shoving shortcuts in the startup folder so that I can control when the applications start up -...