April 28, 200520 yr Hello! I'm having problems with the cmd commands once again. I'm able to rename exported files and move them to a folder with currentdate name. What I want to do now is compress the folder, it is a lot easier to attach a zipped folder to an e-mail than each exported file..... This is my code for compressing the folder but it ai'nt working, has anyone of all you geniuses on this site a good solution? "cmd /c compress "" & Substitute ( Substitute ( Left ( Get ( FilePath ) ; Position ( Get ( FilePath ) ; "/" ; 1 ; PatternCount ( Get ( FilePath ) ; "/" ) ) ) ; "file:/" ; "" ) ; "/" ; "" ) & "export" & "" & Get(CurrentDate) & """ & " /C"
Create an account or sign in to comment