View Single Post
Old 03-01-2021, 05:42 PM
lenka lenka is offline
Registered User
Join Date: Mar 2021
Posts: 1
VCP command failure

I am trying to send userid and password as parameters using user's input to vcp command. Somehow it is not making connection to the server. This problem started after we upgrade secureCRT to 8.5 version.These command never had any problems in the past. Can you please help?

Here are the commands
set /p uid=Enter Userid:

echo %uid%
set /p pwd=Enter Password:

echo %pwd%

setlocal EnableDelayedExpansion
echo Copying file to X: drive...

vcp -auth password -preserve -pw %pwd%* C:\localfolder\  || goto error

Last edited by cboyack; 03-02-2021 at 09:44 AM. Reason: Please use [CODE] and [/CODE] tags to denote areas of code
Reply With Quote