Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: NetWare 4.1/9000 Utilities Reference > Chapter 2 Workstation Utilities

NDIR

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Purpose

Use at a workstation to

  • View information about files (date, size, owner, attributes, archive information).

  • View information about directories (creation date, owner, subdirectories, Inherited Rights Filter, effective rights).

  • View volume information.

  • Sort information according to creation date, owner, file or directory attributes, and so forth.

Syntax

NDIR [path] [/option] [/? | /VER]

Parameter

Use to

path

Specify the path leading to the information you want to view. Include the volume, directory, or filename.

/option

Specify one or more options from any of the following tables: "NDIR Display Options" "NDIR Format Options" "NDIR Sort Options" "NDIR Attribute Options" "NDIR Restriction Options"

/?

View online help. (Other parameters are ignored.)

/VER

View the version number of the utility and the files it uses to execute. (Other parameters are ignored.)

NDIR Display Options

Option

Use to

DO

Sort and view directories only.

FO

Sort and view files only.

FI

View every occurrence of the specified files within your current directory and your PATH environment.

SUB

Sort and view all subdirectories and their files.

VOL

View volume information for the specified volume.

SPA

View directory space limitation information for the specified directory.

C

Scroll continuously through a display.

NDIR Format Options

Option

Use to

DA

View dates when files were last updated, archived, accessed, created, and copied.

DE

View file details.

COMP

View file and compression sizes for NetWare 4 files.

LONG

View name space long filenames.

MAC

View Apple® Macintosh® files.

R

View file attributes, compression and migration status, effective rights, and rights that pass through the Inherited Rights Filter.

NDIR Sort Options

Option

Use to

REV

Reverse the direction of a sort. Put REV before SORT. Example: /REV SORT OW.

SORT CR

Sort by creation or copy date, from earliest to latest.

SORT UN

Suspend sorting.

SORT AC

Sort by date last accessed, from earliest to latest.

SORT AR

Sort by date last archived, from earliest to latest.

SORT UP

Sort by last update, from earliest to latest.

SORT OW

Sort alphabetically by file owner names.

SORT SI

Sort by file size, from smallest to largest.

NDIR Attribute Options

Option

Use to

NOT

NDIR *.* /NOT /DI View files that do not have a specified attribute. For example, to display all files in the current context that do not have the Di (Delete Inhibit) attribute, type

A (Archive Needed)

View files modified since the last backup.

Ci (Copy Inhibit)

Prevent the file from being copied. (Applies to MAC files only.)

Di (Delete Inhibit)

Prevent the file from being deleted.

Dc (Don't Compress)

Prevent the file from being compressed (regardless of what the volume or directory is set to).

Dm (Do not Migrate)

Prevent the file from being migrated to a secondary backup (regardless of what the volume or directory is set to).

X (Execute Only)

Prevent a file from being copied or copied over. This attribute can be given only to .EXE or .COM files, and cannot be removed.

H (Hidden)

Prevent a file from being seen with the DOS DIR command. The file cannot be copied or deleted.

IC (Immediate Compress)

Compress a file as soon as possible.

P ( )

Purge a file immediately if the file is deleted.

RI (Rename Inhibit)

Prevent a file from being renamed.

RO (Read Only)

Allow a file to only be read—it cannot be written to or deleted.

RW (Read Write)

Allow a file to be read and written to.

SH (Shareable)

Allow a file to be used by several users simultaneously.

SY (System)

Prevent a file from being seen with the DOS DIR command. The file cannot be copied or deleted.

T (Transactional)

Protect a file by using the Transaction Tracking System (TTS).

NDIR Status Flags

Flag

This flag means

Cc (Can't Compress)

The file will not be compressed because of limited space savings.

Co (Compressed)

The file is compressed.

M (Migrated)

The file has been migrated.

NDIR Restriction Options

Option

Use to

[NOT]

View all files except those the option specifies. Example: /CR [NOT] BEF | EQ | AFT mm-dd-yy

/CR BEF | EQ | AFT mm- dd-yy

View files created on, before, or after the date specified.

/AC BEF | EQ | AFT mm- dd-yy

View file last accessed before, on, or after the date specified.

/AR BEF | EQ | AFT mm- dd-yy

View files last archived on, before, or after the date specified.

/UP BEF | EQ | AFT mm- dd-yy

View files last updated on, before, or after the date specified.

/OW EQ user

View files created by a specific user.

/SI GR | EQ | LE number

View files with byte sizes greater than, equal to, or less than a specified number.

Using NDIR

  • A forward slash (/) must precede the first option of the option list. Use backslashes (\) in path names.

  • You can use several options, but you must separate the options with spaces.

  • To view several files in your default directory, include a comma between filenames.

  • You can use wildcard characters.

Examples

To

Type

View files in the current directory

NDIR *.*

View the version of .EXE files on drive Z:

NDIR Z:\*.EXE /VER

View only directories on drive F:

NDIR F:\*.* /DO

View rights for files in the current directory

NDIR *.* /R

View the date of file RECORD.TXT

NDIR RECORD.TXT /DA

View detailed file information on RECORD.TXT

NDIR RECORD.TXT /D

View all Read Only files in SYS:PUBLIC

NDIR SYS:PUBLIC\*.* /RO

Search for batch files on drive C:

NDIR C:\*.BAT /SUB

View files that are not Read Only

NDIR *.* /NOT RO

View files from smallest to largest

NDIR *.* /SORT SI

View files in drive Z: by the most recent access date first

NDIR Z:*.* /REV SORT AC

View files updated before June 5, 1991

NDIR *.* /UP BEF 6-05-91

View files not owned by user PAT

NDIR *.* /OW NOT EQ PAT

Find where COMMAND.COM is

NDIR COMMAND.COM /FI

Additional Information

Topic

See

File and directory attributes

"Attributes" in Concepts "FLAG"

Transactional attribute

"Attributes" in Concepts

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.