Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: TurboC++
I was Trying to ,make this explorer ....
I am using dir command of dos to direct my data towards a data file and then read and display
The problem is it works for only the current working directory as we move back by using "cd .." it start showing the error invalid directory though it makes the data file ....
Posted 9-Jan-12 5:51am
Edited 9-Jan-12 7:56am
v3
Comments
Smithers-Jones at 9-Jan-12 10:59am
   
Here's a hint: Do not urge people by shouting and saying "ASAP". Members here on CP help for free in their sparetime, you don't have to pay them, so don't urge them or you only piss them off annoy them.
Richard MacCutchan at 9-Jan-12 12:23pm
   
Look at the actual data in your dir command to see why it is not working. We cannot guess what your program is doing wrong.
nonson black at 9-Jan-12 12:58pm
   
the dir is working properly. i am getting all the data in file the problem is i am not able to read the file via program .
Richard MacCutchan at 9-Jan-12 14:12pm
   
What does this mean? You really need to explain your problem in detail and show the part of your program that is not working. As I said before, we cannot guess what is happening on your system, nor can we see what is on your screen.
SAKryukov at 9-Jan-12 20:00pm
   
DOS? Are you serious? Do you use MS-DOS as your OS? Do you use Windows?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 310
1 OriginalGriff 285
2 Afzaal Ahmad Zeeshan 200
3 Sergey Alexandrovich Kryukov 195
4 BillWoodruff 180
0 OriginalGriff 6,499
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,193
3 Manas Bhardwaj 4,657
4 Maciej Los 4,120


Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 9 Jan 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100