Click here to Skip to main content
16,008,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDeleteing a file Pin
si_6919-Jul-04 2:56
si_6919-Jul-04 2:56 
GeneralRe: Deleteing a file Pin
Ravi Bhavnani19-Jul-04 3:04
professionalRavi Bhavnani19-Jul-04 3:04 
GeneralRe: Deleteing a file Pin
David Crow19-Jul-04 3:17
David Crow19-Jul-04 3:17 
GeneralRe: Deleteing a file Pin
si_6919-Jul-04 3:40
si_6919-Jul-04 3:40 
Generalgetcwd puzzle Pin
ns19-Jul-04 2:19
ns19-Jul-04 2:19 
GeneralRe: getcwd puzzle Pin
Ravi Bhavnani19-Jul-04 2:41
professionalRavi Bhavnani19-Jul-04 2:41 
GeneralRe: getcwd puzzle Pin
David Crow19-Jul-04 3:12
David Crow19-Jul-04 3:12 
GeneralRe: getcwd puzzle Pin
Toni7819-Jul-04 5:40
Toni7819-Jul-04 5:40 
How did you select the output directory? dir /b > list.txt WILL create a list.txt file on the current working directory. I am just curios to know how you set the output directory because there is no such function as setcwd(), unless you used chdir(). But if you did that then dir /b list.txt will work only on the new directory.
On the other hand, "dir /b > C:\...\outputDir\list.txt" will do the trick and probably you knew that already. "dir" command will take as parameters the full path to the input directory and the full path to the output directory.
i.e. dir c:\...\inputDir /b > c:\...\outputDir\list.txt

Some code posted here would help.

But just as the others did, I would recommend API.

// Afterall, I realized that even my comment lines have bugs

If the sun were to blow up, it would take us 7-8 minutes to realize it.
QuestionHow to Hook the Print message Pin
HemantR...19-Jul-04 2:04
HemantR...19-Jul-04 2:04 
AnswerRe: How to Hook the Print message Pin
bikram singh19-Jul-04 11:04
bikram singh19-Jul-04 11:04 
GeneralRe: How to Hook the Print message Pin
HemantR...20-Jul-04 21:47
HemantR...20-Jul-04 21:47 
GeneralBest way to scroll a control Pin
0v3rloader19-Jul-04 1:48
0v3rloader19-Jul-04 1:48 
Generalprob in displaying and deleting text in a view Pin
aarti vimal19-Jul-04 1:31
aarti vimal19-Jul-04 1:31 
GeneralRe: prob in displaying and deleting text in a view Pin
V.19-Jul-04 2:02
professionalV.19-Jul-04 2:02 
GeneralRe: prob in displaying and deleting text in a view Pin
Ravi Bhavnani19-Jul-04 2:44
professionalRavi Bhavnani19-Jul-04 2:44 
GeneralRe: prob in displaying and deleting text in a view Pin
aarti vimal19-Jul-04 22:39
aarti vimal19-Jul-04 22:39 
Generalneed help!!!! Pin
**bamboo**19-Jul-04 1:03
**bamboo**19-Jul-04 1:03 
GeneralRe: need help!!!! Pin
vikram attiganal19-Jul-04 1:22
vikram attiganal19-Jul-04 1:22 
GeneralCareful with CRecordset::GetRecordCount() Pin
Alexander Wiseman19-Jul-04 6:01
Alexander Wiseman19-Jul-04 6:01 
GeneralRe: Careful with CRecordset::GetRecordCount() Pin
BlackDice20-Jul-04 3:26
BlackDice20-Jul-04 3:26 
GeneralRe: Careful with CRecordset::GetRecordCount() Pin
Alexander Wiseman20-Jul-04 5:06
Alexander Wiseman20-Jul-04 5:06 
GeneralRe: Careful with CRecordset::GetRecordCount() Pin
BlackDice20-Jul-04 8:22
BlackDice20-Jul-04 8:22 
GeneralRe: need help!!!! Pin
BlackDice19-Jul-04 2:39
BlackDice19-Jul-04 2:39 
GeneralGetting All URLs in the History Folder Pin
Liger_Zero_X19-Jul-04 0:13
Liger_Zero_X19-Jul-04 0:13 
GeneralRe: Getting All URLs in the History Folder Pin
David Crow19-Jul-04 3:05
David Crow19-Jul-04 3:05 

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.