Change server path - Programmers Heaven

Howdy, Stranger!

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

Categories

Change server path

steelskingsteelsking Posts: 1Member
[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

  • rickratrickrat Posts: 55Member
    : [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.