How do you create a txt file from command prompt?

1 answer

Answer

1167177

2026-03-20 04:10

+ Follow

you must have notepad

press Windows button then open run type cmd and enter.

after command prompt shows type the drive location and like below example.

example creating pks.txt file after cmd<enter>

CD desktop<enter>

notepad pks.txt<enter>

will ask you to do you want to create new text file.

press yes button and then a txt file named pks.txt will be created on desktop

thank you.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.