0% found this document useful (0 votes)
85 views4 pages

Batch File Tricks: (Overriding DOS Commands With Batch Files - Version 1.0)

This document provides batch file tricks for overriding default DOS commands with custom batch files. It discusses how to create batch files that override commands like DIR, COPY, REN, DEL, and more by naming the batch files the same as the commands. The batch files can then perform actions before or after calling the actual commands. This allows adding functionality or modifying the default behavior of common DOS commands through simple text-based batch files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views4 pages

Batch File Tricks: (Overriding DOS Commands With Batch Files - Version 1.0)

This document provides batch file tricks for overriding default DOS commands with custom batch files. It discusses how to create batch files that override commands like DIR, COPY, REN, DEL, and more by naming the batch files the same as the commands. The batch files can then perform actions before or after calling the actual commands. This allows adding functionality or modifying the default behavior of common DOS commands through simple text-based batch files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Batch File Tricks

(Overriding DOS Commands with Batch Files - Version 1.0)

Abhinav Sharma

!" # $ !" #
% & '
& ( # )
& & #*
+ &
& ,# &
( )* - ,
#. & &
#

) $ #
/" #
01 #
232
* , #! $
*
#01 , $'
#
/" #
232
! " $ $
& # $ #% &
4 5 ' $ &
# #
% & $
!" $
) )
'
#01 ) #/"
# $

2/6" !" 61 2./"7. 282! 1 28 "7 288"8 1.! 9 ::


."9 67 !"9. +82 1.;<2; " 28 .1 2=
+17 2
23

2 $ & : > ' * & &


? , & & & $ #: @
*
+17 2, ' & $ &
: A* 23 , !"
& ) # &
# # # #
4 5 5
# &&
$ #"

$ =

&
/ + #
4 5 &# ' &
' BC C#% B

>#+ 4 5 & #
$# B
C C

#/ !" $ # $ &/
+ # & + #
4
1' 5 & $
B
@#/ 4
2' D 5 & $
B

A#7 & D 4
. 5 $

D . B1 &
D D B + 0 % * $# B
C ,
E#; ) ! &
*B
C , !" #9 &)
#

! ! "
#$ %
% %

#$ %
% %
% %

Attribution. You must attribute the work in the manner specified by the author or licensor.
Noncommercial. You may not use this work for commercial purposes.
No Derivative Works. You may not alter, transform, or build upon this work.

You might also like