Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#366816 - 27/05/2016 19:29 Okay, what the heck is going on here? (DOS Dir command)
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I expect a log file to show up in a certain folder. It's not showing in Explorer, and it's not showing if I DIR *.LOG in the folder. But if I go up a few levels, then it shows in a DIR /S.

Observe this output from my elevated DOS session:

Code:

C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\ProcessSalesEmailsTask\bin\Debug>dir /s *.log
 Volume in drive C is Windows
 Volume Serial Number is 56E5-5398
File Not Found

C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\ProcessSalesEmailsTask\bin\Debug>cd ..

C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\ProcessSalesEmailsTask\bin>dir /s *.log
 Volume in drive C is Windows
 Volume Serial Number is 56E5-5398
File Not Found

C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\ProcessSalesEmailsTask\bin>cd ..

C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\ProcessSalesEmailsTask>dir /s *.log
 Volume in drive C is Windows
 Volume Serial Number is 56E5-5398
File Not Found

C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\ProcessSalesEmailsTask>cd ..

C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler>dir /s *.log
 Volume in drive C is Windows
 Volume Serial Number is 56E5-5398

 Directory of C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\ProcessSalesEmailTests\bin\Debug

05/27/2016  12:15 PM            21,112 ProcessSalesEmailTests Temporary Local Log File.log
               1 File(s)         21,112 bytes

 Directory of C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\SaApiVerification\bin\Debug

02/29/2016  11:00 AM            15,339 SaApiVerification Temporary Local Log File.log
               1 File(s)         15,339 bytes

 Directory of C:\Users\AFabris\Source\Workspaces\SendBus\Development\TaskScheduler\SmtpLogicProcessingEmailTest\bin\Debug

10/22/2015  12:56 PM                12 SmtpLogicProcessingEmailTest Temporary Local Log File.log
               1 File(s)             12 bytes


WHAT THE HECK?

Why doesn't the file appear until I've moved up a few directory levels?!?!?!?

This isn't a timing thing, this is consistent. File is not flagged as "hidden" or "system" anthing that I know about.

WTF?
_________________________
Tony Fabris

Top
#366817 - 27/05/2016 19:48 Re: Okay, what the heck is going on here? (DOS Dir command) [Re: tfabris]
Tim
veteran

Registered: 25/04/2000
Posts: 1525
Loc: Arizona
The log files it is finding aren't in ProcessSalesEmailsTask, they are in ProcessSalesEmailTests.

Top
#366818 - 27/05/2016 20:29 Re: Okay, what the heck is going on here? (DOS Dir command) [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
BLAST. I typoed the dir name because it was similar.

And I *knew* there were two similar dir names and I even compared them side by side and I STILL MISSED IT.

WOW.
_________________________
Tony Fabris

Top