| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 107835 | 2010-03-03 08:12:00 | Looking for batch file examples | andreas.hagen (15380) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 863606 | 2010-03-03 08:12:00 | Hi, I'm looking for as many intermediate level batch file examples as possible that will work in an XP command line environment. The cooler the script the better. Thanks in advance! |
andreas.hagen (15380) | ||
| 863607 | 2010-03-03 08:14:00 | And what do you want them to do? | Speedy Gonzales (78) | ||
| 863608 | 2010-03-03 08:24:00 | Anything, change colours in the window. Show txt, use commands &tc | andreas.hagen (15380) | ||
| 863609 | 2010-03-03 08:38:00 | Do a search in google, thats why its there. Here's some examples (www.computerhope.com) and here (www.dostips.com). I would read first before you run it. Just in case it deletes something | Speedy Gonzales (78) | ||
| 863610 | 2010-03-03 08:42:00 | set yourvariable=value echo Your text goes here echo Data stored in yourvariable is %yourvariable% pause Nice basic stuff :) echo - Prints text to screen set XX=YY - declares variable XX and sets value to YY pause - stops execution and waits for a key %variable% - uses data stored in variable |
jwil1 (65) | ||
| 863611 | 2010-03-03 18:35:00 | Also check out Microsoft's built-in CScript & WScript tools - lets you do a heck of a lot more than "DOS"-style batch files - either in VB or JavaScript. There's lots of examples out there, also. | MushHead (10626) | ||
| 863612 | 2010-03-04 02:59:00 | This wouldn't be for a Uni project or similar by any chance would it? | Chilling_Silence (9) | ||
| 1 | |||||