Change server path

[code]Set objArgs = WScript.Arguments

If objArgs.Count < 1 then
msgBox "The script require a parameter to define output file location"
wscript.quit
End If

ServerPath=objArgs(0)

If right(ServerPath, 1)<>"" Then ServerPath = ServerPath + ""[/code]

Hi all,

Can somepls please enlighten me as to how I can change the ServerPath to

ServerPath = ServerPath + "With Monitor"

Thanks.

Comments

  • : [code]: Set objArgs = WScript.Arguments
    :
    : If objArgs.Count < 1 then
    : msgBox "The script require a parameter to define output file location"
    : wscript.quit
    : End If
    :
    : ServerPath=objArgs(0)
    :
    : If right(ServerPath, 1)<>"" Then ServerPath = ServerPath + ""[/code]:
    :
    : Hi all,
    :
    : Can somepls please enlighten me as to how I can change the
    : ServerPath to
    :
    : ServerPath = ServerPath + "With Monitor"
    :
    : Thanks.
    :



    ServerPath = CStr(CStr(ServerPath) & "With Monitor")
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion