Am 28.02.2011 20:20, schrieb paul h:
> Hi,
> 
> I am automating a few processes in my office - creating customer files
> and folders that then need to be worked with manually. Once they have
> been created, I need to open the root folder and display it with it's
> contents, so that the user can then work directly on the files without
> having to navigate to the folder.
> 
> Is there a way with ruby to pop a folder open and to the top of the z
> order? Couldn't find anything by googling.
> 
> (The machines in the office all run win7)
> 
> Thanks
> 
> Paul
> 
> 

Something like this (untested)?

system("explorer.exe C:\\your\\folder")

(Note the double backslash, you must escape backslashes in Ruby strings
if you type them in literally)

Vale,
Marvin