Topic "How to provide dynamic path for script file"

Author Message
kranthi

Guest


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

winscp.com /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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
So how do you tell which one to use?
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License