Post a reply

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)


Topic review


How to subtract 1 day from batch file.

Hi All,
This is my batch file
"C:\Program Files (x86)\WinSCP\" /command ^
"open sftp://abc@**** -hostkey=""ssh-dss 1024 xx:xx:xx:...""" ^
"get /qwe/asd/tryu/%%TIMESTAMP#ddmmyyyy%%* P:\Projects\abc\Test_bacth\Batch_download\" ^
But when i run this i get all the data but i want only 4 folders from it.
Example today is 26 april so i want folder's which started with name 25042016 in starting of its name.
Also i need how to pass password in it.