Home » Questions » Computers [ Ask a new question ]

How can I pin a .txt file to the taskbar in Windows 7?

How can I pin a .txt file to the taskbar in Windows 7?

In XP/Vista I could drag a text file to the taskbar and while holding down CTRL-SHIFT it could make an icon for that text file. I click on it and it opens that text file in my default editor.

Asked by: Guest | Views: 93
Total answers/comments: 5
Guest [Entry]

"If you drag it to the taskbar it won't be pinned to the taskbar. It will however be pinned to the Jump list for the text editor you've chosen.

Example: Let's say you use Notepad as default editor. When you drag test.txt to your taskbar it will pin Notepad to your taskbar. It will also pin test.txt to Notepad's Jump List. To open the file you right click on the Notepad icon and select the pinned file from the Jump List."
Guest [Entry]

"Not ideal, but a solution I came up with is:

Create a folder, anywhere - call it something short.

Create a shortcut to your files in it.

Right click the taskbar and click Toolbars > New toolbar

Locate and select the folder.

You should now see the folder on the taskbar with your item, ready to click.

As you said, You can just pin it - as to why it is empty, it sounds like a bug as I do not get this. Perhaps you should try opening the file, adding something like a space to the start, saving then removing the space and saving again. This should make it appear in the recent list. Right click and do properties to make sure that it is the correct object (date/time) and then pin it as it should be the correct version."
Guest [Entry]

"This doesn't work for a lot of programs, but the following will work to automatically open a specific .txt file in Notepad.

Locate the .txt file in Windows Explorer.
Shift + right-click the file and select Copy as path.
Drag the file to the taskbar as normal and a context menu will appear.
Right-click the Notepad menu item in that context menu and select Properties.
On the Shortcut tab, delete the path in the Target field and paste in the path you copied in step 2.
Hit OK.

Clicking Notepad on the taskbar will now automatically load the .txt file into it."
Guest [Entry]

"Drag The Notepad document with your writing in to the task bar so it gets pinned to the task bar.
Right click on the Notepad document that just got put in the task bar — not the one in the task bar but the one before it was moved.
Click on Properties, click on Security, copy the object name
Right click on Notepad in the task bar
Right click on Notepad, click Properties, click Shortcut
Delete the writing in the target box and paste what you copied before
Click apply and ok, exit out of Notepad
Click on it again in the task bar and it should come up with everything you have already written in it."
Guest [Entry]

"Pin Notepad.exe to taskbar.
Shift + Right Click on it.
Click Properties.
In Target field, type or paste the path to the file you want pinned."