Re: Trouble putting a file with spaces in the name
Well, we need to know, what language is that.
If it is VB, it should be like:
="""C:\Program Files\WinSCP\WinSCP.exe"" /console /command ""option confirm off"" ""option batch off"" ""open FileList"" ""put """"\\Server1\MyFiles\Daily Inpatient File*%TimeStamp#yyyy-mm-dd%.csv"""""" ""exit"" "
See also https://winscp.net/eng/docs/commandline#syntax
Depending on a way you execute the command, you may also need to double the%
.
Martin,
Yes it was VB, and your code worked.
Thank you very much for your help.
David
:D :D :D :D :D :D