in reply to Re^5: how to install URI::Escape::JavaScript on ActiveState
in thread how to install URI::Escape::JavaScript on ActiveState

i have perl 32 installed in directory perl32 and perl 64 bit version in directory perl64. Now i am in directory perl32:
perl -v This is perl 5, version 16, subversion 3(v5.16.30) built for MSWin32-x +64-multi-thread ..

the commands "where perl" and "set PATH .." cause errors

1) where perl:

 Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the "SizeMB" value of type "System.String" to type System.Management.Automation.ScriptBlock"."

2) set path :

CommandNotFoundException %PATH% got not recognized as Name of Cmdlet, Function, Script file or +Program

Replies are listed 'Best First'.
Re^7: how to install URI::Escape::JavaScript on ActiveState
by syphilis (Archbishop) on Jul 11, 2017 at 13:11 UTC
    %PATH% got not recognized as Name of Cmdlet, Function, Script file or program

    The usual thing is to run perl in a cmd.exe shell, not in Windows powershell - and the command I provided is for the cmd.exe shell.
    But if you're running in powershell, then you would instead re-set the PATH with:
    $env:path="C:\location\of_your\perl32\bin;$env:path"
    Cheers,
    Rob
Re^7: how to install URI::Escape::JavaScript on ActiveState
by marto (Cardinal) on Jul 11, 2017 at 12:48 UTC
    Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert th +e "SizeMB" value of type "System.String" to type System.Management.Au +tomation.ScriptBlock"."

    Are you confusing the command prompt with powershell?