{"id":26659016,"url":"https://github.com/denisecase/windows-file-management","last_synced_at":"2025-07-23T19:02:25.127Z","repository":{"id":97698796,"uuid":"158387661","full_name":"denisecase/windows-file-management","owner":"denisecase","description":"Basic Windows file management with PowerShell","archived":false,"fork":false,"pushed_at":"2020-08-20T14:15:53.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-04T08:14:29.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denisecase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-11-20T12:40:14.000Z","updated_at":"2021-01-13T23:37:50.000Z","dependencies_parsed_at":"2023-05-25T08:46:27.058Z","dependency_job_id":null,"html_url":"https://github.com/denisecase/windows-file-management","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/denisecase/windows-file-management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fwindows-file-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fwindows-file-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fwindows-file-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fwindows-file-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denisecase","download_url":"https://codeload.github.com/denisecase/windows-file-management/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisecase%2Fwindows-file-management/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266737567,"owners_count":23976388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-25T10:17:33.826Z","updated_at":"2025-07-23T19:02:25.119Z","avatar_url":"https://github.com/denisecase.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic Windows File Management\n\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](code-of-conduct.md)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n\u003e Basic Windows file management with PowerShell\n\n- [Webpage](https://denisecase.github.io/windows-file-management/)\n- [Source](https://github.com/denisecase/windows-file-management/)\n\n## Prerequisites\n\n- [Windows Setup for Developers](https://github.com/denisecase/windows-setup)\n\n## Organizing Files\n\nWindows arranges files in a tree structure, with the C:\\ drive typically at the root of the tree.\nIf a computer has been partitioned into multiple drives, you may see other drive names as well.\n\nWe can use PowerShell to create, delete, and rename folders, sub-folders, and files. It's a powerful tool for organizing your files.\n\nFor example, you may create a folder for school, and from inside that folder, create a sub-folder for each of your courses.\n\n## File Explorer\n\nThe Windows File Explorer is a graphical way of browsing files.\nUse this along with the PowerShell command line interface (CLI).\nFolders and files can be added, edited, and deleted in File Explorer as well.\n\n## Basic PowerShell Commands\n\nPowerShell offers aliases (shortened names) for common commands.\nThe full name is provided for additional reference [1].\n\n- mkdir - create new folder/directory [Create-Item]\n- cd - change directory [Set-Location]\n- cd .. - cd up to immediate parent (cd ..\\.. to go up 2 levels)\n- rm - remove [Remove-Item]\n- rni - rename item [Rename-Item]\n- ni - new item [New-Item] - even shorter than Bash 'touch' command!\n- ls - list contents [Get-ChildItem]\n- clear - clear the history of commands [Clear-Host]\n\n## Open PowerShell in User Folder\n\nUse File Explorer to open your user folder (e.g. C:\\Users\\acctname).\nRight-click on the folder itself (showing your account name) or in the white space off to the right.\n\nSelect \"Open PowerShell window here as administrator\" from the context menu.\nIf this is not yet available, see [Windows Setup for Developers](https://github.com/denisecase/windows-setup) to add this command to your context menu.\n\n## Working with Folders\n\n\"Folders\" and \"directories\" are the same and the terms can be used interchangeably.\nWhen using the commands, it can be helpful to think in terms of \"directories\".\nTry the following tasks - the commands are listed below.\n\n1. In your default user folder, create a new folder/directory named \"projects\".\n2. Try to create it again (the command should fail).\n3. Change into your new directory.\n4. Make several subdirectories.\n5. Move into the first subdirectory.\n6. Create an empty file (new item).\n7. Create another child directory.\n8. Rename it.\n9. Delete it.\n10. Back up to your projects directory.\n11. Back up to your user directory.\n\n```PowerShell\nmkdir projects\nmkdir projects\ncd projects\nmkdir proj1\nmkdir proj2\nmkdir proj3\ncd proj1\nni README.md\nmkdir startup\nrni startup startingup\nrm startingup\ncd ..\ncd ..\n```\n\n## Terms\n\n- Drive\n- File\n- File Explorer - Windows program for browsing folders and files\n- Folder / directory - a place to store files on your computerf\n- PowerShell - powerful command line interface for Windows\n- Tree data structure (every node has exactly one parent, except the root node with no parent)\n- Windows 10 - popular operating system\n\n## Next Steps\n\nNow it's time to install some basic tools and software.\n\n- Follow [Basic Tools](https://github.com/denisecase/basic-tools-for-webdev) to get some of the most common tools for professional software development.\n\n## See Also\n\n- [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell/scripting/powershell-scripting?view=powershell-6)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisecase%2Fwindows-file-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenisecase%2Fwindows-file-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisecase%2Fwindows-file-management/lists"}