A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Windows Vista File Management
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management)

DIR /s/-p



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 8th 08, 12:15 PM posted to microsoft.public.windows.vista.file_management
Howard Kaikow
external usenet poster
 
Posts: 82
Default DIR /s/-p

According to the help for dir, I would expect the same behavior as in Widows
2000.
But the "-' is being ignored.


  #2 (permalink)  
Old June 8th 08, 10:27 PM posted to microsoft.public.windows.vista.file_management
Jeff Richards
external usenet poster
 
Posts: 96
Default DIR /s/-p

Use
DIR /s
to get a listing without pausing at each screeenfull. That's how it works
in W2000 and XP, and AFAIK has always been thus, despite the comment in the
Help message.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Howard Kaikow" wrote in message
...
According to the help for dir, I would expect the same behavior as in
Widows
2000.
But the "-' is being ignored.




  #3 (permalink)  
Old June 9th 08, 04:29 AM posted to microsoft.public.windows.vista.file_management
Howard Kaikow
external usenet poster
 
Posts: 82
Default DIR /s/-p

"Jeff Richards" wrote in message
...
Use
DIR /s
to get a listing without pausing at each screeenfull. That's how it works
in W2000 and XP, and AFAIK has always been thus, despite the comment in

the
Help message.


Not in Windows 2000.
dir/s pauses on each screen.


  #4 (permalink)  
Old June 9th 08, 04:38 AM posted to microsoft.public.windows.vista.file_management
Howard Kaikow
external usenet poster
 
Posts: 82
Default DIR /s/-p

"Western Infidels" wrote in message
...
On Sun, 8 Jun 2008 08:15:10 -0400, "Howard Kaikow"
wrote:

According to the help for dir, I would expect the same behavior as in

Widows
2000.
But the "-' is being ignored.


What did it do in Windows 2000?


In Win 2000, dir /s pauses after each screen.
One has to use dir/s/-p to avoid the pauses.

The help for "dir" lists the "-" modifier only in the file-attributes
section and the sort-order section. It doesn't look like it's intended
to be a general-purpose modifier.

If you want a recursive listing without paging, doesn't "dir /s" do
it?

In Vista, seems so.

Seems that -p and p do the same thing.

That change could break programs from earlier versions that shell a command
line, and process the resultant output.

Folkes at MSFT were just not thinking when they made such changes in Vista.


  #5 (permalink)  
Old June 9th 08, 07:49 AM posted to microsoft.public.windows.vista.file_management
Jeff Richards
external usenet poster
 
Posts: 96
Default DIR /s/-p

I tested it before posting, and for both W2k and XP as used here dir/s does
not pause.

If DIRCMD is set to /p then using dir /s/-p will display the listing without
pausing.

Perhaps your W2k system had the DIRCMD setting and Vista does not.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Howard Kaikow" wrote in message
...
"Jeff Richards" wrote in message
...
Use
DIR /s
to get a listing without pausing at each screeenfull. That's how it
works
in W2000 and XP, and AFAIK has always been thus, despite the comment in

the
Help message.


Not in Windows 2000.
dir/s pauses on each screen.




  #6 (permalink)  
Old June 9th 08, 08:18 AM posted to microsoft.public.windows.vista.file_management
Howard Kaikow
external usenet poster
 
Posts: 82
Default DIR /s/-p

"Jeff Richards" wrote in message
...
I tested it before posting, and for both W2k and XP as used here dir/s

does
not pause.

If DIRCMD is set to /p then using dir /s/-p will display the listing

without
pausing.

Perhaps your W2k system had the DIRCMD setting and Vista does not.


It's been so long, I do not recall how to check or set DIRCMD.


  #7 (permalink)  
Old June 9th 08, 09:09 AM posted to microsoft.public.windows.vista.file_management
Jeff Richards
external usenet poster
 
Posts: 96
Default DIR /s/-p

to check -
set

to set -
set DIRCMD=/p
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Howard Kaikow" wrote in message
...
snip

It's been so long, I do not recall how to check or set DIRCMD.




  #8 (permalink)  
Old June 9th 08, 05:43 PM posted to microsoft.public.windows.vista.file_management
Howard Kaikow
external usenet poster
 
Posts: 82
Default DIR /s/-p

In Win 2000, I have DIRCMD=/og /a /p.
In Vista, DIRCMD not set.

I must have set the critter years ago, and those brain cellss are long gone.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.