Displays a listing of a folder and items
2000, 2005 (N), 2005 (I), 2008 (N), 2008 (I),2008r2(N), 2008r2(I), 2012(N), 2012(I), Azure
(N)=Native
(I)=Integrated
Dir [folder] [/S][/A[:option]]
/S Displays items in folder and sub folders
/A[:option] Displays items with specific attributes
:Option
D Directories H Hidden items
R Reports L Linked Reports
S Datasource I Images
C resource U Unknown
M Model
- prefix meaning NOT
list items in a directory
dir
list items in a directory and sub folders
dir /s
list folders and sub folder
dir /ad /s
list items in a folder beginning with sal
dir sal*
list items in folder and sub folders beginning with sal
dir sal* /s
•Remember you can redirect output to a file on the computer
•
CD - Change current folder
MD - Create a folder
RD - Remove a folder
DEL - Delete a item eg. report (non folder)
DELAll - Delete all items in a folder.