简体   繁体   English

如何使用Java访问Windows中的最近地点

[英]How can i access the recent places in windows using java

How can i access the recent places in windows and store the data in a file without license using java? 如何使用Java在Windows中访问最近的位置并将数据存储在文件中而无需许可? I'm trying to write a code that adds extra features such as, repeated entries, time duration for which an application was open, to the recent places folder in windows. 我正在尝试编写代码,以将额外的功能(例如重复输入,打开应用程序的持续时间)添加到Windows中的“最近的位置”文件夹中。 So i need to access the recent places in windows and store the data in a database using java. 因此,我需要访问Windows中的最新位置,并使用Java将数据存储在数据库中。

After having said so in comment, about disabling of recent documents, windows store Recent documents under a directory "Recent" under user folder. 在评论后,关于禁用最新文档,Windows将“最新文档”存储在用户文件夹下的“最近”目录下。

eg 例如

C:\\Users\\pallavi\\Recent . C:\\Users\\pallavi\\Recent

It contains a list of recent files in the form of shortcuts (.lnk files) and you can use this directory to find recent files. 它包含快捷方式(.lnk文件)形式的最新文件列表,您可以使用此目录查找最新文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM