Tree view of a directory/folder in Windows? [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
In Linux/KDE, I can see a directory as a tree. How can I do it in Windows 7?
Consider I do NOT mean "Windows Explorer". This just shows the directories, I also want the files.

In the Windows command prompt you can use "tree /F" to view a tree of the current folder and all descending files & folders.
In File Explorer under Windows 8.1:
Select folder
Press Shift, right-click mouse, and select "Open command window here"
Type tree /f > tree.txt and press Enter
Use MS Word to open "tree.txt"
The dialog box "File Conversion - tree.txt" will open
For "Text encoding" tick the "MS-DOS" option
You now have an editable tree structure file.
This works for versions of Windows from Windows XP to Windows 8.1.

tree /f /a
About
The Windows command tree /f /a produces a tree of the current folder and all files & folders contained within it in ASCII format.
The output can be redirected to a text file using the > parameter.
Method
For Windows 8.1 or Windows 10, follow these steps:
Navigate into the folder in file explorer.
Press Shift, right-click mouse, and select "Open command window here".
Type tree /f /a > tree.txt and press Enter.
Open the new tree.txt file in your favourite text editor/viewer.
Note: Windows 7, Vista, XP and earlier users can type cmd in the run command box in the start menu for a command window.

I recommend WinDirStat.
I frequently use WinDirStat to create screen shots for user documentation of open folders and their contents.
It even uses the correct icons for Windows registered file types.
All I would say is missing is an option to display the files without their icons. I can live without it personally, since I am usually pasting the image into a paint program or Visio to edit it, but it would still be a useful feature.

If it is just viewing in tree view,One workaround is to use the Explorer in Notepad++ or any other tools.

TreeSize professional has what you want. but it focus on the sizes of folders and files.

You can use Internet Explorer to browse folders and files together in tree. It is a file explorer in Favorites Window. You just need replace "favorites folder" to folder which you want see as a root folder

Related

Windows 10 keeps looping "How do you want to open this file?" dialog [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I double click an xml file.
Windows 10 asks me "How do you want to open this file?"
I make a selection and click ok
I'm back at 2 (rince and repeat, forever...)
If I click the "always use" checkbox, I even see the icons refresh in the windows explorer, before the "How do you want to open this file?" dialog pops back in screen.
I already tried deleting all the xml keys in the registry that I could find (no worries, I exported them first).
I tried different programs in the dialog.
Nothing works.
I created a dummy file extension, and that worked fine... the dialog appeared once, and after that it opened in the app I picked.
But it looks like somehow the file open dialog is stuck on .xml files.
Does anyone have any clue at all?
found this:
Run / gpedit.msc (edit group policy)
locate and expand Computer Configuration / Administrative Templates / Windows Components now click on File Explorer
on the right panel, double click on "Do not show the 'new application installed' notification" and set it to "Enabled"

How do you copy file paths quickly in Mac OS X v10.10 (Yosemite)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Is there a quick way to copy file paths in Mac OS X v10.10 (Yosemite)?
Launch Automator (you can click the spotlight search feature in the upper right corner of your mac and search for Automator).
In Automator, click "New" in the "File" drop down menu (upper left hand corner of display screen).
Select "Service" for new file type (gear symbol).
-Now you can start building the shortcut-
Type the word "copy" into the search space on the right side of the automator program window (next to "Actions" and "Variables").
Drag "Copy to Clipboard" from the "search" area into the "workflow" area.
Change the "Service receives selected" drop down menu to "files or folders" (right above workflow area).
Change the "in" drop down menu to "Finder" (right above workflow area).
Save file as "Copy File Path."
To use this "Copy File Path" command, when you are using Finder simply right click a file/folder and scroll down to the "Services" menu item at the bottom of the context window. Select the "Copy File Path" option and then paste wherever desired.
To access the Automator shortcut file for editing or renaming, click the "Go" drop down window when you are using "Finder" (near top of display). Next hold the "option" key and double click on "Library" (note that "Library" appears only after holding down "option"). Scroll down the Library folder until you find the "Services" folder. Open this folder and your new Automator shortcut will be inside.

Pinning an application shortcut to the Windows (7,8) taskbar

I would like to write a program that Pins an APPLICATION like Microsoft WORD, EXCEL, and POWERPOINT to the taskbar on windows 7 or 8. I found the directory that hosts the shortcuts (%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar); however, when I create a shortcut and move it to that folder, the icon does not appear in the taskbar. Also, removing a file from that folder does not remove the icon from the taskbar, it just disassociates the icon from any shortcut. The next time you click on the icon it will display a message asking if you want to remove the pinned item. I would like to automate these processes as I use them a lot on multiple computers per day.
Found my answer elsewhere. VBScript is the way to go!
http://www.codeproject.com/Articles/185512/Programmatically-PIN-shortcut-onto-Taskbar-on-Win7
Old question but I was looking for a way to do this too, this way seem much simpler than using VB.
Create a new shortcut and set the target to: cmd.exe /c "path\to\script.bat". Then you can just right-click and pin it like other shortcuts.
Got the solution from here:
http://www.mysysadmintips.com/windows/clients/343-pin-bat-files-to-windows-8-start-screen

Change extension of a gif file [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I need to change the extension a GIF file (changing it in ".gaf") to use it in Visual studio 2005.
Unfortunately the extension does not appear on the file name so when I change the name of the file I get "picture.gaf.gif" even if I see only "picture.gaf" in its name.
I guess you need to show the file name extensions. One of the more annoying default-settings in windows!
Copied from http://windows.microsoft.com/en-US/windows-vista/Show-or-hide-file-name-extensions
Show or hide file name extensions
A file name extension is a set of characters added to the end of a file name that determine which program should open it. Follow these steps to choose whether Windows displays these file extensions.
Open Folder Options by clicking the Start button , clicking Control Panel, clicking Appearance and Personalization, and then clicking Folder Options.
Click the View tab, and then, under Advanced settings, do one of the following:
To hide file extensions, select the Hide extensions for known file types check box, and then click OK.
To display file extensions, clear the Hide extensions for known file types check box, and then click OK.

Displaying complete context menu in windows 7 library folders [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
When browsing non-special/standard folders in explorer (windows 7), I have various custom right-click context menu options such as:
"Open command window here" (shift+ rightclick)
TortoiseHG
WinMerge
...etc...
The problem is that these options do not come up in the context menu when navigating library folders (such as Documents/My Documents), and instead a 'blank'/clean version of the context menu without any 3rd party/custom extensions is shown.
This is quite annoying, considering I work a lot with command prompt and like to use source control on most of my documents. Only when you navigate via a libraries link does the context menu lose extra options (i.e. you still get the options if you navigate to the special folder location without going through any library shortcut)
My current workaround is that I have manually navigated to the documents folder, and added that to favourites in explorer, using the favourites link instead of the library link.
Is there any solution to this mysterious library folder limited context menu behaviour? I've tried searching, but could not find a way to lift this limitation.
Try this simple context menu1.0 from http://www.brothersoft.com/simple-context-menu-438026.html
Actually, I just found the answer to this.
If you select a specific folder within the library, and right-click that one while holding shift, it should work as expected. Works for me anyway.
The given reason was that Library maps to two different folders.
This likely belongs on SuperUser.com, but it should be automagically moved.
From what it sounds like, I bet the issue is that a library folder isn't really a folder, it's just a logical mechanism, so the context menu isn't going to be the same as that of a folder (because the same options may not work directly).

Resources