Tech Support Pits column from  Dear Webby's Humor Letter
widely read, forwarded, copied and imitated daily since 1994
Dear Webby's Humor Letter, daily since 1994

 Recommended Resources 
High  traffic hosting on UNIX servers Web Hosting from $2 up. Commercal grade: No ads, no limits.
Top Postcard Sites Top Postcard Sites Updated daily.

Software for your own postcard  site Get YOUR OWN Postcard Site ! You too can easily have a postcard site for business or fun.
Search for the perfect postcard The right Postcard for that special client or friend
Search TechTips

TechTips Categories
Lost XP Password
Digital Photography
DearWebby is actually Helmut Morscher, the CEO of Webby, inc.

Originally the "Tech Support Pits" were reports of the funniest tech support incidents, but over the years the column gradually shifted to answering tech support questions put forward by the readers of the Dear Webby Humor Letter.

This collection of computer and web advice was started partly because readers demanded an archive, and partly because some questions were asked again and again. Each page has a different day's Tech Support Pits column.

Have FUN!
Tech Support Pits column from Dear Webby's Humor Letter of
09/09/04: Basic Bats - Multiple commands

Tech Support Pits:
From === If you bragged about your new menu choice of a command line window, then you probably quickly learned that you are in a very small and very exclusive one in a Million group that has that power tool. If you played with it, you probably quickly realized that it would be really handy if you could string a few different commands together. The good news is that you can. Let's assume that you want to first list all the .GIF files to a text file, then all the .JPG files to another text file, then combine those two files into a third file: pixlist.txt, in the c:\info directory. The commands for that are simple enough: dir *.gif > giflist.txt dir *.jpg > jpglist.txt copy giflist.txt + jpglist.txt c:\info\pixlist.txt Open NoteMaid, NotePad or WordPad and save a file to c:\windows\dirlist.bat Paste those 3 lines ito it Add a 4th line: exit add an empty line past that, and save the file. Now use the Explorer and browse to your pictures directory. Highlight it, right-click and select "Open a command window here" type: dirlist an hit Enter The dirlist program will run and exit (close it's window). You can now use a spreadsheet or word processor program to open c:\info\dirlist.txt and use the file list. There is an easy way to make it use a different destination file. Edit the dirlist.bat to make the 4th line: copy giflist.txt + jpglist.txt c:\info\%1-pixlist.txt Save it. Now open the command line and type dirlist Thursday and hit Enter. Look in the c:\info directory, and you will see a new file called Thursday-pixlist.txt With the new, edited dirlist.bat, you have to remember to type the name of the destination file after a space after the command: dirlist filename To remind you of that, edit the dirlist.bat and add this as the first two lines: ECHO dirlist filename pause That will echo the reminder of how to use it onto the screen and pause for you to hit any key after reading that. Then it will continue and run. If you forgot, no big deal. At least now you will be reminded and can run it properly. If you have any questions about any of the command line stuff, write to me and I'll answer you directly. Here on the Humor Letter we better get back to topics that don't cause the WebTVers and Mac users go green with envy. Have FUN! DearWebby
Go to TOP
Subscribe | Give a Gift Subscription | Unsubscribe

Return to Webby homepage   Hosting | Software | Contacts  You have a friend @Webby!
High traffic web space on reliable SUN UNIX servers with the fastest connectivity.

High traffic web space on reliable SUN UNIX servers with the fastest connectivity.