Back to homepage

choco

1. Open PowerShell as Administrator

2. Run This Command to Install Chocolatey

Paste the following exact command into the PowerShell window:

Set-ExecutionPolicy Bypass -Scope Process -Force; `
[System.Net.ServicePointManager]::SecurityProtocol = `
[System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
pnpn install python

Install anything using choco

choco install tree
tree /F /A > structure.txt
// or
tree /F /A
  • /F: Lists all files as well as folders

  • /A: Uses ASCII characters instead of line drawing characters (for better compatibility in files)

C:\Users\sabbe\OneDrive\netBeans\R-shiny github\bangladeshPLUS\R>tree /f /a
Folder PATH listing
Volume serial number is 025F-C09D
C:.
bandarban_plot.R
bd_plot.R
bd_search.R
data.R
get_area_name.R
get_bandarban_data.R
get_coordinates.R
get_divisions.R
get_map.R
No subfolders exist
8 File(s) 1,000 bytes
0 Dir(s) 1,000 bytes free