Hi, Am trying to pass the folder path in the RUN function but its not working, its giving me no result. The code snippet is...
----------------------------------------------------------------------------
$FolderPath = """C:\Program Files (x86)\MyProduct\ABC Enterprise"""
Run(@ComSpec & " /c " & """" & @ScriptDir & "\" & "sigcheck.exe""" & " -a -s -q -v " & "" & $FolderPath & "" & " >> " & @ScriptDir & "\Precheck\" & "sigcheck.txt", "", @SW_HIDE)
----------------------------------------------------------------------------
If I give the path directly in the RUN function then it works...like below...
Run(@ComSpec & " /c " & """" & @ScriptDir & "\" & "sigcheck.exe""" & " -a -s -q -v " & "C:\Test" & " >> " & @ScriptDir & "\Precheck\" & "sigcheck.txt", "", @SW_HIDE)
Can someone help please?
----------------------------------------------------------------------------
$FolderPath = """C:\Program Files (x86)\MyProduct\ABC Enterprise"""
Run(@ComSpec & " /c " & """" & @ScriptDir & "\" & "sigcheck.exe""" & " -a -s -q -v " & "" & $FolderPath & "" & " >> " & @ScriptDir & "\Precheck\" & "sigcheck.txt", "", @SW_HIDE)
----------------------------------------------------------------------------
If I give the path directly in the RUN function then it works...like below...
Run(@ComSpec & " /c " & """" & @ScriptDir & "\" & "sigcheck.exe""" & " -a -s -q -v " & "C:\Test" & " >> " & @ScriptDir & "\Precheck\" & "sigcheck.txt", "", @SW_HIDE)
Can someone help please?