| View previous topic :: View next topic |
| Author |
Message |
NiksaVel General User


Joined: 25 Jan 2008 Posts: 14 Location: Croatia
|
Posted: Sun Nov 30, 2008 1:53 pm Post subject: Button to open certain folders from forms |
|
|
Hi all,
I was wondering if I could use a button to open a certain folder in the windows environment.. sorta like a global constant or something?
I'd like to open for instance... the current user's My Documents or My Pictures or the My Computer screen...
Is that at all possible?
I know I can make a shortcut to each and than call that shortcut, but I'd like a universal solution that would work on any computer without any prior setup if possible... |
|
| Back to top |
|
 |
probe1 Moderator


Joined: 18 Aug 2004 Posts: 2465 Location: Chonburi Thailand Asia
|
Posted: Sun Nov 30, 2008 9:11 pm Post subject: |
|
|
Create a pushbutton on your form.
Choose action: open Form/Website
type: "d:\whatever\folder" in URL
Does this help? _________________ Cheers
Winfried
My Macros
DateTime2 extension: insert date, time or timestamp, formatted to your needs |
|
| Back to top |
|
 |
NiksaVel General User


Joined: 25 Jan 2008 Posts: 14 Location: Croatia
|
Posted: Sun Nov 30, 2008 11:14 pm Post subject: |
|
|
No... I know I can do this... but I was wondering if there are some globals I couls use to open certain standard folders like "My Computer" or "My Documents" of the currently logged user...
i.e.like cd %SYSTEMROOT% in command prompt takes you to c:\windows, but it could also be c:\winnt or whatever |
|
| Back to top |
|
 |
QuazzieEvil Super User

Joined: 17 Jan 2007 Posts: 599 Location: Houston, TX
|
|
| Back to top |
|
 |
|