Page 2 of 3
Re: FSX Missions folder
Posted: 01 Jun 2015, 20:29
by DaveB
Hmm.. with your comments onboard Paul.. I've looked in 'near' folders and guess what.. Missions has turned up. There's an odd folder in the root called Microsoft Flight Simulator X. This came about when I downloaded and ran an installer for a freeware Bell 206 and I saw no reason at the time to delete it because all the helicopters bits are in there.. in the correct directory tree. Also.. Missions is in there

Can't see how that happened but at least I know it wasn't removed by an uninstaller
ATB
DaveB

Re: FSX Missions folder
Posted: 01 Jun 2015, 20:31
by basys
Hi Folks
Dave -
That's the actual batch file itself.
In my original post above -
You need to [Right-Click] the link,
and [SAVE AS] to the root of your fsx folder, (same folder as fsx.exe).
[Rename] it from .txt to .bat
[Double-click] it to run.
It'll generate a log file named !_DirList_FSX_Folder_Tree.log
On Vista/W7/W8 default settings
it's very easy in Windows Explorer, (file manager)
to select and accidentally drag a folder to another location
just by lingering your mouse for too long over a folder.
HTH
ATB
Paul
Re: FSX Missions folder
Posted: 01 Jun 2015, 20:38
by DaveB
Hello Mate
Yes.. I did that exactly as you described. However.. there's no log file. I've entered that log name into search and it's returned a zero

Anywho.. through your suggestion, the errant folder has been found so I ran your batch then went and found the folder

The end result was the same
ATB
DaveB

Re: FSX Missions folder
Posted: 01 Jun 2015, 20:59
by basys
Hi Folks
Dave -
Glad you've got it sorted.
Surprised at there being no !_DirList_FSX_Folder_Tree.log file.
It should be in the root of your FSX folder.
Clicking on the [DATE] column label
should SORT by date.
It'll be the newest file in the list.
HTH
ATB
Paul
Re: FSX Missions folder
Posted: 01 Jun 2015, 21:14
by Tako_Kichi
I tested your batch file Paul and it worked perfectly for me.
Would that file run in any folder structure and not just FSX? I can see a use for that in a number of instances where you want to make sure nothing went awry. I have 'lost' folders before now exactly as you describe above, hover too long over another folder and whoosh it's moved!

Re: FSX Missions folder
Posted: 01 Jun 2015, 21:49
by basys
Hi Folks
Larry -
Cheers, thought it'd work ok.
Yes, the batch file will work on any folder's subtree.
It's a tweaked version of one I'd created to solve a similar problem.
It has additional capabilities, (currently 'commented out') -
- List all the files & folders, with ownership, and filedate/time info. (Be aware - this may take a while).
- List all the folders/paths, (a no-frills text listing).
N.B.
Each generates independent log files.
HTH
ATB
Paul
Re: FSX Missions folder
Posted: 01 Jun 2015, 23:03
by DaveB
Larry.. where did the log files show.. in the FSX root directory?? I did exactly as Paul said.. save as.. rename to bat.. double click and the batch file ran spitting out a text box with the text I posted above. However.. there are no log files associatied with it anywhere on my pc

I don't think SpyHunter would have grabbed them as it would have come up with an exception and it didn't

Never mind.. glad it worked for you
ATB
DaveB

Re: FSX Missions folder
Posted: 01 Jun 2015, 23:51
by Tako_Kichi
Hi Dave, yes the log file showed up in the FSX root directory alongside the .bat file.
Are you sure you changed the file name from '!_DirList_FSX_Folder_Tree-DOT-txt' to '!_DirList_FSX_Folder_Tree-DOT-bat'? (Obviously the '-DOT-' should be '.', I just did it that way so the forum software didn't get confused).
You didn't make it 'bat.txt' did you by mistake?

Re: FSX Missions folder
Posted: 02 Jun 2015, 16:06
by DaveB
Yes mate. I double clicked the renamed .bat file which ran then kicked out a txt box (above). No log files present in the FSX root dir

I'll run it again to see what happens.
Right.. looking at the file.. it has a .bat extension but when I look at it's properties/Details.. it shows it as .bat.txt

I can't get rid of the .txt extension
ATB
DaveB

Re: FSX Missions folder
Posted: 02 Jun 2015, 16:47
by basys
Hi Folks
Dave -
No worries.
In explorer/filemanager listing pane, (not Properties dialog),
can you see the filename.extension ?
i.e.
!_DirList_FSX_Folder_Tree.bat.txt
If you can NOT see the extension -
On explorer's menu,
click - Tools
click - Folder Options
click the tab labelled - View
Untick - Hide extensions for known file types.
click - Apply
click - OK
If you can see the extension -
Then you need to [Right-Click] the file,
from the context-menu, click [Rename].
By default,
!_DirList_FSX_Folder_Tree.bat will be selected/highlighted.
[Click] on the unselected .txt
delete that .txt
Press [ENTER]
You'll get a warning If you change a file name extension
Click [YES]
Filename should now be !_DirList_FSX_Folder_Tree.bat
[Double-click] it to run.
It'll generate a log file named !_DirList_FSX_Folder_Tree.log
HTH
ATB
Paul