Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: What command line I use to add a shortcut to the list of recent files?

29 Apr 2011   #1
Suriname

Win 7
 
 
What command line I use to add a shortcut to the list of recent files?

I'd like to add files to list of recent files opened using line command to make an bat file. Can you relp me? I'd like to add in the list below.

Name:  Capture.PNG
Views: 7
Size:  31.2 KB




My System SpecsSystem Spec
.
29 Apr 2011   #2
Mike Connor

Several, including Windows 7 x64 Ultimate
 
 

You can not do that simply by using a command line. Recent items are added automatically when you open and close them.

The data is contained in :

C:\Users\yourname\AppData\Roaming\Microsoft\Windows\Recent


Regards....Mike Connor
My System SpecsSystem Spec
29 Apr 2011   #3
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

I don't know what you are asking, but here is a shorcut and the path if it's any use:

Recent.zip

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent


My System SpecsSystem Spec
.

29 Apr 2011   #4
FliGi7

XP / Win7 x64 Pro
 
 

It's possible, but what are you trying to accomplish by adding it from the command line?
My System SpecsSystem Spec
29 Apr 2011   #5
SledgeDG

Windows 7 Ultimate x86
 
 

I assume he wants certain entries be present in the list at all times
even if they haven't been opened for some time
I would just use an alternative editor like Uedit (or so) that have a longer list of recent items but even then those entries disappear over time.
My System SpecsSystem Spec
29 Apr 2011   #6
JOHN47

win7 home premium-64bit-SP1-IE9RTM
 
 

You can open the program and then close-it.
In the start menu locate the shortcut and right-click then select PIN TO START Menu.
That way you have your program at the top list forever.
Good Luck
My System SpecsSystem Spec
02 May 2011   #7
Suriname

Win 7
 
 

Quote   Quote: Originally Posted by FliGi7 View Post
It's possible, but what are you trying to accomplish by adding it from the command line?
I thank everyone for the responses. But the problem is that I use a software called "Directory Opus" which replaces the Windows Explorer with more functions. Every time I open a text file through it this file is not added in the recent list. So I asked if he could do this through a command line so I add this command line in the "double click" event of Directory Opus to add the txt file that I open to recent files.
My System SpecsSystem Spec
02 May 2011   #8
SledgeDG

Windows 7 Ultimate x86
 
 

It might be a longshot, but if you use that software on a regular base, you could try and send them a feature request (since Directory Opus doesn't add opened files to the jump list)

GPSoft.com.au/Support
My System SpecsSystem Spec
04 May 2011   #9
Suriname

Win 7
 
 

Quote   Quote: Originally Posted by SledgeDG View Post
It might be a longshot, but if you use that software on a regular base, you could try and send them a feature request (since Directory Opus doesn't add opened files to the jump list)

GPSoft.com.au/Support
Thanks for all
My System SpecsSystem Spec
Reply

 What command line I use to add a shortcut to the list of recent files?




Thread Tools




Similar help and support threads
Thread Forum
looking for command line interface for unzipping files
i want to unzip files in a windows batch file , how can I in windows 2003 server OS ?
General Discussion
Using vssadmin command line to store Restore files on the DATA drive
In David Karp's book Windows 7 Annoyances he shows how to move your System Restore files to your DATA Volume or Drive - Command prompt in Administrator mode - My OS (W7 Home Premium x64) is on C: and my data is on drive D: - so the Command is as follows - vssadmin add shadowstorage /for=C:...
Performance & Maintenance
Need command line tool to list Hardware
I'm not a windows guy to say the least, been an Linux admin going on 6 years now, but new job gave me 20 windows 7 servers/workstations to maintain. The issue I'm having is that when a client is logged on to one of my machines I can not login to check anything. If I attempt to login it boots...
General Discussion
Office 2003 won't retain recent files list
I just installed Office 2003 on my new machine running Windows 7 Home Premium. Because this PC has an SSD, I installed Office on Drive D: with all my other programs. On my old machine running Windows 7 Home Premium it was installed on the C: drive without any problems. But now Word and Excel...
Microsoft Office
"Mail to" shortcut in Send To context menu fails command line argument
Hi All, Previous PC was an XP and we had a shortcut within the Send To context menu called "Mail To" which when clicked on a file would open a new email with the file attached and with the default email (as done from within Outlook), not the crappy text "mail recipient" one that is standard in...
Browsers & Mail
Command Line Prompt - How To Export List of Files to Text File
Hi guys, I have a folder with 995 files in it and I'd like to give someone a text file with a list of all these files in it. Is there a way that I can get the command line to send the names of these files to a text file? I tried navigating to the directory and using the DIR command and,...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:25.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App