retrive folder/file path

  • hapetter
  • Born
  • Born
  • hapetter
  • Posts: 3

Post 3+ Months Ago

Does windows save the path of a file/folder if I use windows explorer and right click on a file/folder?
I belive it is saved in windows registry somewhere? right? where?

Thanks!

Best regards
Hans
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6801
  • Loc: Martinsburg, WV

Post 3+ Months Ago

I don't think so. Your registry would end up being huge after a while if that was the case, especially since I right click a bunch of files and folders throughout the day. I'm not even sure why this feature would be useful.
  • hapetter
  • Born
  • Born
  • hapetter
  • Posts: 3

Post 3+ Months Ago

well I guess its the last file/folder path that are stored only...

It is very usefull for me to know because I want to open a VB program from the right click menu in windows explorer and along with that i like to retrive the path of the file/folder i clicked with my right mouse button:)

Any suggestion how to retrive this path?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

maybe I'm not following you correctly, but Tools>Folder Options>View tab

Make sure Display the Full Path in the Address Bar is checked.
Copy & Paste the path from the Address Bar.

//if you're trying to retrieve the path with the VB program, I'm with grinch - don't believe it's possible
  • hapetter
  • Born
  • Born
  • hapetter
  • Posts: 3

Post 3+ Months Ago

Its not what I want to do:)

In Vista you can push CTRL and rightclick on an file or folder. Then the right click menu give you an option to copy path to clipboard. This means path is stored somwhere by windows. I like to know where?

Suggestions?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Seems pretty obvious it's stored in the File Allocation Table, a.k.a. FAT, or NTFS in the case of XP and Vista. It isn't stored in the registry.

If I'm following your intent right, this might get you going in the right direction using .NET and VB and using the path class
http://msdn.microsoft.com/en-us/library/ms364070.aspx

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 53 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.