I am using WinSCP and it has the option to use custom commands remotely.
I want to zip some files and folders. WinSCP has a command that can zip a file or folder but I have to enter the name for the zip to be called.
zip -r "!?&Enter an Archive Name:?archive.zip!" !&
I would like a command that will take the name of the file and use that for the zip.
I.e. thisnewvideo.mp4 to become thisnewvideo.zip.
I have a lot of files so typing each title will take a long time.
If it is possible I would like to be able to do multiple files at once and create a separate zip file for each file or folder keeping to original file or folder title.
It needs to be a zip file.