Cre­ate a Notepad file list­ing items in any folder

Computer Active (UK) - - Make Windows Better -

There’s an easy way to cre­ate a list of all the files in any folder on your PC us­ing Com­mand Prompt or Pow­er­shell (de­pend­ing on which Win­dows ver­sion you use). This method saves a list of all items within any folder as a Notepad file, which is use­ful if you’d like to see its con­tents at a glance.

Press the Shift but­ton, right-click your cho­sen folder, then click ‘Open Pow­er­shell win­dow here’ (in Win­dows 10 – see screen­shot above) or ‘Open Com­mand Prompt win­dow here’ (Win­dows 7 and 8.1). Next, type dir > file­name.txt (re­plac­ing ‘file­name’ with the name you want to use for the Notepad file), then press En­ter. Now close your Pow­er­shell or Com­mand Prompt win­dow and open your cho­sen folder. You’ll see a Notepad file with the name you gave it. Open this to see a list of all items in the folder, their size (in KBS) and the date and time you cre­ated them.

Newspapers in English

Newspapers from UK

© PressReader. All rights reserved.