> Subject: SCOUG-Help: listing of hidden files 
> > 
> >Any way in OS/2 to list hidden files from command line? 
> >I was looking for some INI files and had to use a DOS 
> >utility (CO.COM) to find them.   I can find no DIR  
> >switch to display them. 
I prefer to see all the files all the time, so I usually use a  
batch file (d.cmd) from the command line whenever I want to look  
at a directory.  (I "borrowed" the "d" name from a CP/M utility I  
had been using regularly before switching to OS/2.) 
Here it (the batch file) is in all its glory: 
@echo off 
rem /A show files with all attributes 
rem /N use HPFS format for directory display 
rem /O sort files (default: alpha, directories then files) 
rem /V (undocumented) display file attributes in listing 
rem /P pause for pages 
rem %2 allows /S (subdirectories) or other added entries 
IF +%1==+/S GOTO SUBDIR 
IF +%1==+/s GOTO SUBDIR 
dir %1 /A /N /O /V /P %2 
GOTO END 
:SUBDIR 
dir /A /N /O /V /S /P %2 
:END 
Jack P. 
--------------------------------------------- 
This message was sent using the LA Free-Net - LA's best kept secret. 
http://www.lafn.org/ 
===================================================== 
To unsubscribe from this list, send an email message 
to "steward@scoug.com". In the body of the message, 
put the command "unsubscribe scoug-help". 
For problems, contact the list owner at 
"rollin@scoug.com". 
===================================================== 
<< Previous Message << 
 >> Next Message >>
Return to [ 01 | 
March | 
2004 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.