开发者

How to know which file is opening in Computer using C#

开发者 https://www.devze.com 2023-03-24 06:12 出处:网络
I want to know the file name which we are opening. For example: If we are opening notepad.exe then my program should display that notepad.exe g开发者_Go百科ot opened.

I want to know the file name which we are opening. For example:

If we are opening notepad.exe then my program should display that notepad.exe g开发者_Go百科ot opened.

If we are opening song.mp3 then my program should display that song.mp3 got open.

If we are opening movie.mpeg then my program must tell that movie.mpeg got open.

If we are opening abc.txt then my program must tell that abc.txt got open.

Here I want to know what files are getting open on my computer.

Please help me out.

Thanks


It's quite difficult to list out all files opened. Take a look at the Listing Used Files solution on Code Project. It lists all the files which are currently open.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号