tags:

views:

22

answers:

0

Hi

I have written a vb script to open a file with different type other than the original file type

 here is my code

     Dim objShell
    Set objShell = CreateObject("WScript.Shell")
    objShell.Run("wordpad " & "C:\OpenWith_Shell32_Doc.doc")

The above code works fine

but when i am trying to convert .xml to QCTester (QATester.exe) type

    Dim objShell
    Set objShell = CreateObject("WScript.Shell")
    objShell.Run("QATester " & "C:\Result.xml")

It is giving an error at line 3 as Permission denied to file text.vbs error : line

I have checked the permissiions of QCTester.exe and file i am converting(Result.xml) both are given as full control..

Is there any error ...Please help