please dont rip this site

DOS Command reference

Getting multiple files in a single batch file

Encoding Binary files in Batch files

Strings.com

For NT commands see Help for all NT Version 4.0 commands

APPEND   Locating Application Files.
ATTRIB   Specifying the Read-only and Archive Attributes
BACKUP   Backing Up Files between Drives
BREAK    Checking Whether Break Was Invoked
CHCP     Changing the Code Page
CHDIR    Changing the Current Directory
CHKDSK   Checking Disk Space
CLS      Clearing the Screen
COMMAND  Invoking a Second Command Processor
COMP     Comparing Files
COPY     Copying Files
CTTY     Changing to a Remote Terminal
DATE     Displaying the Current Date
DEL      Deleting Files
ERASE    Erasing Files
DIR      Listing Files in a Directory
DISKCOMP Comparing Disks
DISKCOPY Copying Disks
EXE2BIN  Converting .EXE Files to .BIN Files
FASTOPEN Storing Recently Opened Files in Memory
FDISK    Partitioning the Hard Disk
FIND     Finding Strings Within Files
FORMAT   Formatting Disks
GRAFTABL Loading Graphics Characters
GRAPHICS Printing a Graphics Screen
JOIN     Joining Drives via a Directory
KEYB     Loading Foreign Keyboards (PC-DOS 3.3 only)
KEYBxx   Loading Foreign Keyboards
LABEL    Modifying Volume Labels
MKDIR    Creating New Subdirectories
MODE     Setting Device Modes
MORE     Displaying One Screen at a Time
NLSFUNC  Selecting Code Pages with CHCP
PATH     Searching a Specified Path
PRINT    Printing Files
PROMPT   Changing the System Prompt
RECOVER  Recovering Damaged Files
RENAME   Renaming Files
REPLACE  Replacing Selected Files
RESTORE  Restoring Backed-up Files
RMDIR    Removing Directories
SELECT   Selecting Keyboard and Date Format When Installing DOS
SET      Setting Operating Parameters
SHARE    Loading Support for Network File-Sharing
SORT     Sorting Text Data
SUBST    Substituting Drive Designators
SYS      Copying System Files to Another Disk
TIME     Displaying the Current Time
TREE     Displaying Directory Trees
TYPE     Displaying the File Contents
VER      Displaying the DOS Version
VERIFY   Verifying Data
VOL      Displaying the Disk Volume Name
XCOPY    Copying Selected Files

Creating a Zero Length File

The old DOS method of creating a zero length file by issing: REM>ZERO.DAT works under Windows 9x but won't work under Windows NT/2000/XP. The command: TYPE ZERO.DAT > ZERO.DAT will work under all versions of Windows and DOS. assuming that ZERO.DAT does not exist before the type command.

Output files from the input file name with a different extension

Lots of batch files require you to supply file name parameters without extension so that an output file can be made with a new extension or they will require the full output file name as a seperate parameter. Automatically providing an output file name with a new extension turns out to be pretty easy: Just make the output file with %1ext and then ren %1ext *.ext where %1 is the full input file name and ext is whatever you want the extension to be. This works in '98, NT and XP.

See also:

Questions:


file: /Techref/dos/Commands.htm, 8KB, , updated: 2013/7/22 16:11, local time: 2024/11/8 19:41,
TOP NEW HELP FIND: 
3.145.40.251:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/dos/Commands.htm"> DOS Command reference</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .