i would love to be able to run the following command from a simple .bat file:
FOR %i IN (*.*) DO 7z.exe a "%~ni.7z" "%i"
Ive tried to simply save it in a .bat file, but that did not work, sadly.
saved the command inside a .bat file.
upon running the file no window opened and nothing was executed.
the command was intended to put each file inside the folder into its own 7zip archive
2