Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie - nlist ?

Status
Not open for further replies.

coach38

MIS
Joined
Apr 8, 2004
Messages
104
Location
US
Can someone tell me what this format is suppose to look like?

nlist user where "login time" GT mm/dd/yy(today's date minus 61 days) /S > C:\test|test.txt

Is it suppose to look like this?

nlist user where 05/31/04 <61 /S c:\test\test.txt
 
The < cannot be used in the actual nlist command as DOS will interpret the < character as a command to pipe a text file into the command. Therefore, the second line is incorrect.

The first line looks the better of the two apart from changing the | to a \ in the filename. SO the command should look something like:

NLIST USER WHERE "login time" GT 05/31/04 /S > C:\TEST\TEST.TXT

Type NLIST /? ALL for the help menus.

-----------------------------------------------------
&quot;It's true, its damn true!&quot;
-----------------------------------------------------
 
thanks, it's running now..thanks again..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top