Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Dird

for anyone interested I had it C:\${VALUE}
The \ removes the power of the $ like speech marks would...to avoid this I had to use a double backslash but only before the $ e.g. C:\folder\\${VALUE}.txt
Dird

Shell script value replacement

Hi,

I'm looking to use this in my winscp call but it doesnt convert it. First I tried shell script because I plan to call it from within a .ksh but C:/$(date +"%d-%m-%Y")_monthly.wri didn't work in:

I then searched for command prompt format & tried:
"C:\Program Files\WinSCP\WinSCP.exe" /console /command "option batch on" "option confirm off" "open user@link" "put C:\%date:~4,2%-%date:~7,2%-%date:~10,4%_monthly.wri

Neither were converted. Any ideas on how to fix it? Ideally without the need for javascript~ surely the current date can be converted? :s