I'm trying to create a button that will open an explorer window in Windows. If I go to the command line and type:
system "explorer P:\AnimReference\Resources\matchBox";
It opens the file correctly.
But if I put the following in a script:
string $matchBox = button -label "matchBox Docs" -w 150 -h 30 -c "system \"explorer P:/AnimReference/Resources/matchBox\";" matchBox\_btn;
and click the button, I get an error saying: "The path 'P:/AnimReference/Resources/matchBox' does not exist or is not a directory."
Any reason why it can't find it from the button command, but can from the command line? I've tried changing hash directions, but this works fine for the other buttons I've made to open network files. Thanks.