Jump to content

Recommended Posts

Guest rathore
Posted (edited)

======EDIT======

I'm VERY SORRY! didn't mean to post it twice! (slow connection made the page lost at first) Please moderator, delete on of them .

===============

Here's the situation:

I've an open folder in an explorer window. I want to get the complete path to the selected file (or folder) into a variable.

There's a way that works but is not cool at all!! Its like this:

- I turn on 'show path in title bar'

- Read folder from title bar.

- Send keys {F2, ctrl+c, enter} (copies file/folder name to clipboard)

- Then join the both.

Now I can't find a way to do it using some control functions (the elegant way!). Can anyone tell me if its possible using some better approach?

Thanx!

-rathore

Edited by rathore

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...