Click here to Skip to main content
15,889,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Using mouse scroll Pin
Waldermort27-Aug-06 0:34
Waldermort27-Aug-06 0:34 
QuestionNo default constructor Pin
#realJSOP26-Aug-06 1:25
mve#realJSOP26-Aug-06 1:25 
AnswerRe: No default constructor [modified] Pin
Garth J Lancaster26-Aug-06 1:40
professionalGarth J Lancaster26-Aug-06 1:40 
AnswerRe: No default constructor Pin
Stephen Hewitt26-Aug-06 2:50
Stephen Hewitt26-Aug-06 2:50 
AnswerRe: No default constructor Pin
cmk26-Aug-06 7:14
cmk26-Aug-06 7:14 
Questionproblem on changing the views Pin
radhika2826-Aug-06 0:48
radhika2826-Aug-06 0:48 
AnswerRe: problem on changing the views Pin
radhika2826-Aug-06 2:18
radhika2826-Aug-06 2:18 
Questiondirectory access Pin
George_George25-Aug-06 23:00
George_George25-Aug-06 23:00 
Hello everyone,


When using dir command to list all the files in a directory, for example, here is an output,

--------------------
C:\temp\test>dir
Volume in drive C is C
Volume Serial Number is CC95-21FF

Directory of C:\temp\test

2006-08-26 16:47 .
2006-08-26 16:47 ..
2006-08-26 16:47 0 foo.txt
2006-08-26 16:47 0 goo.txt
2 File(s) 0 bytes
2 Dir(s) 3,082,964,992 bytes free
--------------------

What I want to get are, foo and goo (files ends with .txt). I know how to do this in a programming way, parsing and parsing ... Smile | :)

Could anyone have any ways which does not need programming, for example, by using some Windows commands (does there are any commmad like grep or cut on Linux)?


thanks in advance,
George

AnswerRe: directory access Pin
eusto26-Aug-06 0:05
eusto26-Aug-06 0:05 
GeneralRe: directory access Pin
George_George27-Aug-06 0:19
George_George27-Aug-06 0:19 
AnswerRe: directory access Pin
Hamid_RT28-Aug-06 7:05
Hamid_RT28-Aug-06 7:05 
GeneralRe: directory access Pin
George_George28-Aug-06 22:34
George_George28-Aug-06 22:34 
QuestionRe: directory access Pin
Hamid_RT29-Aug-06 1:05
Hamid_RT29-Aug-06 1:05 
AnswerRe: directory access Pin
George_George29-Aug-06 1:15
George_George29-Aug-06 1:15 
QuestionDif Between UDp & TCP-IP Pin
ramanand_bulusu25-Aug-06 22:30
ramanand_bulusu25-Aug-06 22:30 
AnswerRe: Dif Between UDp & TCP-IP Pin
Divyang Mithaiwala25-Aug-06 23:52
Divyang Mithaiwala25-Aug-06 23:52 
GeneralRe: Dif Between UDp & TCP-IP [modified] Pin
ramanand_bulusu25-Aug-06 23:58
ramanand_bulusu25-Aug-06 23:58 
GeneralRe: Dif Between UDp & TCP-IP Pin
Divyang Mithaiwala26-Aug-06 0:30
Divyang Mithaiwala26-Aug-06 0:30 
GeneralRe: Dif Between UDp & TCP-IP Pin
Gary R. Wheeler26-Aug-06 12:37
Gary R. Wheeler26-Aug-06 12:37 
AnswerRe: Dif Between UDp & TCP-IP Pin
Stephen Hewitt26-Aug-06 2:54
Stephen Hewitt26-Aug-06 2:54 
AnswerRe: Dif Between UDp & TCP-IP Pin
Hamid_RT28-Aug-06 7:07
Hamid_RT28-Aug-06 7:07 
QuestionDebug problem Pin
shivditya25-Aug-06 22:02
shivditya25-Aug-06 22:02 
GeneralRe: Debug problem Pin
prasad_som25-Aug-06 23:47
prasad_som25-Aug-06 23:47 
AnswerRe: Debug problem Pin
Hamid_RT28-Aug-06 7:07
Hamid_RT28-Aug-06 7:07 
QuestionAbout /Clr Option in VS2005 Pin
chenxiujie25-Aug-06 19:42
chenxiujie25-Aug-06 19:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.