DOS commands and their BlackBerry 10 OS equivalents

The table below lists the BlackBerry 10 OS equivalents of some common MS-DOS commands.

For more information about the BlackBerry 10 OS commands, see the Utilities Reference.

DOS command BlackBerry 10 OS command(s)
attrib ls -l , chmod , and ls -a
Batch files Shell scripts; see Writing Shell Scripts in this guide, or the docs for ksh .
cacls ls -l
call script ksh script

If the script begins with #!/bin/sh, you can invoke it like a regular program, for example, script (without prefixing it with sh or ksh).

chdir cd (builtin ksh command)
cmd ksh
command ksh
copy cp
date date and rtc

Note that you must use rtc to set the hardware clock to the new date and time.

del rm
dir ls
erase rm
diskpart fdisk [command]
find grep -i
findstr grep
getmac See ifconfig
help use
logman tracelogger
md mkdir
mode stty
move mv
msiexec tar , unzip
path echo $PATH , export PATH= new path (see Utilities or the documentation for ksh).
query pidin
rem #
rename mv
replace cp -x
sort sort
taskkill slay
tasklist pidin
time date and rtc
tracerpt traceprinter
tracert traceroute
type cat
ver uname -a
xcopy cp