how to open a windows folder?
larry.bates at websafe.com
Fri Nov 4 17:57:29 CET 2005
Not elegant but this works:
os.system(r'start explorer.exe "C:\temp"')
Bell, Kevin wrote:
> I'd love to be able to open up a windows folder, like c:\temp, so that
> it pops up visually. I know how to drill down into a directory, but I
> can't figure out how to open one up on screen. Would I have to make a
> call to windows explorer in a similar way that I hit Excel with:
> from win32com.client import Dispatch
> Excel = Dispatch("Excel.Application")
> Any clues?
More information about the Python-list