If this is not possible with open, might there be another approach I could take to achieve what I want?
Thanks in advance.
opendoes not open any window. It's mere starting of the
winscp.comthat causes Windows to create a console window (as the
winscp.comis a console application).
"C:\Program Files (x86)\WinSCP\winscp.com" /script=htaccess-script.txt
But that has nothing to do with WinSCP.Changing to winscp.exe improves it, but this time a Windows command prompt window is open during the process, instead of winscp.com.
You can post new topics in this forum