Windows Explorer argument not being interpreted?

Posted by MarceloRamires on Stack Overflow See other posts from Stack Overflow or by MarceloRamires
Published on 2010-03-12T15:05:31Z Indexed on 2010/03/12 15:07 UTC
Read the original article Hit count: 377

I'm currently using:

Process.Start("explorer.exe", "/Select, " + fullPath); //with file name.extension

That basically tells windows explorer to open the folder where the file is in, with the given file selected.

But, by the forces of evil, sometimes it works and sometimes it just opens the file ("/select" is... ignored)

Has anyone ever experienced this?

If it changes anything, it's a file in a local network and the path looks like this


(of course in c# every '\' is doubled, and @ is not a choice, the path is generated by something else)

I'll be constantly reading comments to supply any aditional information

© Stack Overflow or respective owner

Related posts about c#

Related posts about process.start