in effetti non so, erano comandi che mi diedero i consulenti del gestionale.
ha sempre funzionato, quindi non mi sono chiesto nulla.
cmq ho commentato quelle righe, ed aggiunto i path di putty e winscp al PATH.
codice:
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Apr 26 16:37:04 2023
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Last Successful login time: Wed Apr 26 2023 16:36:51 +02:00
Connected to:
Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
Disconnected from Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
E:\TEMP\ordini>REM echo off
E:\TEMP\ordini>WinSCP.com /script=upload.bat
Comando sconosciuto 'psftp.exe'.
E:\TEMP\ordini>start "" "E:\TEMP\ordini\ws_import_bs.vbs"
E:\TEMP\ordini>PROMPT "Premere un tasto per terminare : "
"Premere un tasto per terminare : "pause
Premere un tasto per continuare . . .
però psftp.exe riesco a lanciarlo a mano dal prompt.