A.12 NDIR

The ndir command is a legacy MS-DOS utility that allows you to view file attributes and compression information for all files in a directory. NDIR requires the Novell Core Protocol (NCP®) protocol, so if you are using the command for NSS volumes on Linux, NCP Server must be configured and running.

NDIR is a client-side application, not a server-side application. Install the Novell Client for Windows on your workstation, then use the Novell Map Network Drive option in the client menu to map a local drive letter to the volume or directory. Open a DOS Command Prompt window, go to the mapped drive, then issue the ndir command from the command line.

A.12.1 Syntax

At the MS-DOS command prompt on your Windows workstation, navigate to the mapped drive for the NSS volume, then enter

ndir path /option

The path is optional if you want the information for all directories in the mapped drive.

Help Options

Help Options

Description

ndir /?

View a list of help options.

ndir /? for

Get help on display format.

ndir /? sort

Get help on sorting features.

ndir /? res

Get help on search filters (restrictions).

ndir /? at

Get help on attribute filters.

ndir /? opt

Get help on other options.

ndir /? syn

Get help on syntax.

ndir /? all

Get all help screens.

Compression and File Attributes Options

 

 

ndir path /R 

View the trustee rights, inherited rights filter, and file attributes for all files in the specified volume or directory.

ndir path /COMP

View the compression information for all files in the specified volume or directory. It shows the amount of disk space saved by compressing data.

ndir path /COMP /VOL

View the compression information for the specified volume or directory. It also shows the disk space saved on the volume.