Show/Hide Toolbars

Reporting Services CMD

Command: CD

 

Displays or changes the current folder.

 

SSRS Version:

 

2000, 2005 (N), 2005 (I), 2008 (N), 2008 (I),2008r2(N), 2008r2(I), Azure

 

(N)=Native

(I)=Integrated

 

 

Syntax

 

cd

cd <path>

cd ..

 

 

Parameters

 

<path> Specifies the folder to which you want to change
[..]Specifies you want to change to the parent folder
[/?]Displays help at the command prompt

 

 

Remarks

 

Changing to the root folder

 

The root folder is the top of the folder hierarchy . To return to the root folder type

 

cd \

 

Changing the default directory

 

To change the  directory from the one you are on, type one of the following:

 

cd [directory]

 

To verify the change to the directory, type the following:(this shows the current directory

 

cd 

 

To go back to the parent directory use ..

 

cd ..

 

 

 

 

 

Examples

 

 Absolute Folder Change

 Absolute folder changes start with \

 

 To change your current directory to a directory named Reports, type one of the following commands:

 

         cd \reports 

 

 To change your current directory to a subdirectory \Specials\reports, type:

 

         cd \specials\reports

 

 

 Relative Folder Change

 relative folder changes do not start with \

 

 If your current directory is \Specials, type the following command to change to the \Specials\Sponsors subdirectory:

 

         cd sponsors

 

 To change from a subdirectory to its parent directory, type:

 

         cd ..

 

 To display the name of the current directory, use cd without a parameter. For example, if your current directory is \Public\aUser , type CD the following appears

 

         B:\Public\aUser

 

 

 

 

 

For example if the current folder was Fldr1 and you wanted to change the current folder to Fldr2, there are several ways to do this

 

Root
|-----Fldr1
|-----Fldr2

 

 

 example to change the current folder to Fldr2... from Fldr1

 

cd \Fldr2

 

         or

 

cd ..\fldr2

 

         or

 

cd ..

cd fldr2

 

 

See Also

 

 

MDMake folder
RDRemove folder
RENRename folder