Quote:
Originally Posted by mohantmk
Thanks it works. I can run my scripts using "C:\Program Files\PuTTY\psftp.exe" -b "C:\Documents and Settings\Mohan\My Documents\sftpcommands.txt".
I have another doubt it the same script, I need to rename file which iam getting from SFTP, i am not sure the file name which iam getting so iam using "*" but as example iam sending this "ren Test*.txt Test123.txt"
Can you tell me how to rename with date format something like test123[DDMMYYYY][time].
--
Thanks,
Mohan
|
Mohan, am i late..?
ren Test*.txt "Test%Date:/= % %Time::=.%.txt"
--ilan