I'm trying to drag txt and png files to one of the zip folders I have on my desktop but it doesn't work. Can easily drag these files to a regular folder though.Windows 10. Please help.
Asked
Active
Viewed 66 times
0
-
Maybe this question is for https://superuser.com/ – Dr. Andrey Belkin Mar 06 '20 at 14:16
1 Answers
0
Copy to notepad save as 7z.bat
Note: It cannot be operated on the desktop, C drive root directory, etc.
@ECHO OFF
@REM @Author: xianghongai@gmail.com
title Drag, Zip
7z a -tzip "%~1.zip" "%~1" -xr!node_modules
echo :)
echo Completed!
echo Press any key to exit.
pause >nul
exit

山茶树和葡萄树
- 2,050
- 1
- 18
- 18