Topic "How to provide dynamic path for script file"

Author Message


I'm using a batch file to run my script to put file from server to local machine. My batch file is
@echo off
cd \
cd C:\Program Files (x86)\WinSCP /script="C:\Abcd\ xyz .info"

Question is: name of the file(xyz) is dynamic, it changes frequently. How can I mention this in my batch file.

Your response is highly appreciated.
Thanks in advance
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27097
Location: Prague, Czechia
So how do you tell which one to use?

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License