SHELL command

walrus

Registered User.
Local time
Today, 12:19
Joined
Feb 22, 2013
Messages
15
Hi

I'm trying to use this command:

Code:
Shell "C:\WINDOWS\explorer.exe """ & Me.txtSource & """, VbMaximizedFocus"

to open a folder from within Access 2007 & Windows7. It works, but it always opens the folder minimised, whether I use VbMaximizedFocus or VbNormalFocus. It used to work properly in Access 2003 & WinXP. Any suggestions?
 
Suggestion:
Code:
Shell "C:\WINDOWS\explorer.exe """ & Me.txtSource & """", 1
 
That worked, cheers! :)
 

Users who are viewing this thread

Back
Top Bottom