Forum Discussion

MAK89's avatar
MAK89
Occasional Contributor
9 years ago

How to open desired folder hierarchy from local system without using name mapping ?

How to open desired folder hierarchy from local system without using name mapping ?
  • MAK89's avatar
    MAK89
    9 years ago

    NisHera

    It is partially working , it open just my document folder but not complete path.

    I use the follwing code

    Sys.OleObject("WScript.Shell").Run("explorer C:\Users\manas\Documents\TestComplete 11 Projects\ProjectSuite1"); 

    but it open document folder instead of ProjectSuite1.

  • AlexKaras's avatar
    AlexKaras
    9 years ago

    Hi,

     

    I believe this is because the path contains a space.

    Try something like this (note quotes around the path):

    Sys.OleObject("WScript.Shell").Run("explorer ""C:\Users\manas\Documents\TestComplete 11 Projects\ProjectSuite1""");