|
|
|
Data that MattersCommand Line |
||||||||||||||||||||||||||||||||||
| <<-Current | ||||||||||||||||||||||||||||||||||
AboutThe Matters Command Line page lists useful DOS utilities, tips, tricks, and tutorials on using DOS for diagnostics, Batch files, and for file and folder maintenance. The Command Line page will also expore the command line utilities from Server 2003 and Linux.ArchivesTopical CollectionsTen Sites that I think are Cool, www.flickr.com
This is a Flickr badge showing
recent public
photos from Flickr. Make your own badge here.
|
DATE: 4-September-2008 Odd Folder Property ChangesI have recently have had some trouble writing to my USB drive. The first time this happened I suspected that my USB drive was not seated properly and reseated the device. When that didn’t work I just renamed the file. When it happened again I checked the properties of the folder and sure enough the Read Only property was checked. I changed the properties to Archive and I was able to write to the folder without any difficulty. To change folder and file properties simply right click on the file or folder, choose Properties and if needed uncheck the Read Only attribute box. Click the Apply button and OK on the Confirm Attribute Changes dialog box. If you have files and other directories within this folder the “Apply changes to this folder…” option should already be checked, but if it is not checked or if you do not want other files properties to change in your subdirectories then uncheck this option. To change file properties from the command line you can you the Attrib command with its switches. The Attrib +A (path-file or folder name) /s /d would change the file or folders properties to archive and process all files and subdirectories with the folder with the same attribute. Please see Computer Hope for a full description of this command and its switches. I haven’t been able to find anything posted about this issue so all I can do for now is to take care of the symptom. Could it be Norton Anti-virus? DATE: 3-July-2008 Free DOS C Compiler and TutorialsC was developed back in 1972 by the Bell Telephone Laboratories. Many modern day programming languages were either influenced or derived from C. Learning C is like being zapped back in time and for some it might bring about nostalgic feelings. Learning a programming language hones ones analytical and problem solving skills. You can learn C by using these excellent tutorials and Pacific C’s free compiler About’s Learn C Programming Tutorials More C Tutorials Fried Space C Programming Tutorial Pacific C Windows Compiler a free small DOS C compiler
DATE: 1-Feb-2008
Filed under: DOS, Programming DOS Batch FilesBatch files are used to automate processes. In addition, batch files can be used for system and network chores. Although all DOS commands can be used in batch files there are nine specific batch commands. :label: is used to defines a target for GOTO. Batch files can be created in any text editor and are saved with the .BAT extension; once they are saved they can be executed by typing the name of the batch file at the command prompt. To cancel the execution of a batch file use the CTRL and Break key combination. An example The following batch file will create the Ron’s Directories at the root and add several directories under it including several nested directories. C: Copy the code into Notepad and save it to your C drive as makeDir.bat. One saved access your command prompt by typing CMD in your Run dialog box. Make sure that you are at the root (C:) type makeDir. Open Window Explorer and look for a directory named Rons Directories. If you drill through the directory structure you should see a directory structure like the illustration. C: changes the current command prompt to the root Additional Notes When creating directories with compound names you are required to use double quotes. * Additional Recourses Windows 95 / DOS 7 Batch Programming DATE: 26-Jan-2008 Three Sources for DOS AbandonwareSome software publishers no longer consider their DOS titles as financially viable, and abandon these titles allowing users to download them freely. There are dozens of titles available as public domain or abandonware. Many of these titles are well written and contain some surprising graphics and story lines. DOS disks have gotten pretty scarce, but you may be able to find a copy of DOS 6.2 at a computer trading event or from a friend or family member. I was fortunate enough to obtain a copy of DOS 6.2 from a friend and run DOS on a separate partition on my Windows 2000 laptop. DOS software was written for systems that used slower processing units. A lot of DOS software will not run all that well in Windows XP, if at all, and will have to be run on a DOS system or in a DOS emulator. Free DOS an open source DOS alternative, DOS Box and DOS Box portable-DOS emulators, can be run from a virtual machine, a hard drive partition, Windows XP, or from your USB drive. See the Topical Collections Ten DOS Resources page for details.
DATE: 25-Jan-2008 Two Tips to help make finding Data on your CD/DVD’s EasierTip One Use the DOS DIR command and the output operator to create directory listings for each CD or DVD. If your media burning software does not allow you to save the output file directly to CD/DVD you may have to redirect the text file to another location and burn the file separately. The DIR command will list each directory and file on your disk with the file or folder name, when the file or folder was created, and there size. Tip Two If you have a growing collection of DVD and CD ROM data disks that you use a regularly you can use ISO Recorder to create ISO images of these disks. Copy the ISO images to a new folder; I named mine ISO. Using Microsoft’s Virtual CDROM, a CD emulator, you can mount these images as if they were CD or DVD media. With a large enough hard drive you can store hundreds of CD and dozens of DVD images on your hard drive. DATE: 18-Dec-2007 Tiny ApplicationsWith CPU speeds in the gigahertz GHz and storage capabilities in the terabytes many of us have lost sight of the lowly kilobyte. Although operating systems and applications have grown in size so that they can span multiple CD or DVD’s when DOS was in its heyday programs fit on a single floppy disk. There is something about small and portable applications that has captures our imagination. It is cool and convenient to be able to take your data and the tools used to create the data along with you wherever you go. Portable doesn't’t necessarily mean small. Many portable applications have caught the program bloat bug. They are self contained and portable, but still take up a considerable amount of space on your USB device. How about programs that are less than a megabyte? How about a whole suite of programs that can easily fit on a 16MB SD card and leave room to spare? How about programs that are less than 100K? Impossible? Okay, maybe it is possible, but the programs won’t be all that much use. Think again. There are two sites in particular that specialize in tiny applications. One such site, TinyApps, offers many programs under 100K. The programs usually perform one function, are self-contained and portable. Another site that offers many tiny and portable programs is the Interesting DOS Programs site. DOS programs have inheritably small foot prints. There are diagnostic utilities, programming tools and applications listed on the site. Many could be run from your portable device. |
Worth a VisitBoing Boing Topical Categories
DOS |
||||||||||||||||||||||||||||||||
|
copyright © Ronald E. Maras 2006-07
All Rights Reserved |
||||||||||||||||||||||||||||||||||