Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set dirName=%~1
- if not exist "%dirName%\" goto nemaFoldera
- shift
- cd "%dirName%"
- :uslov
- if "%1"=="" goto kraj
- mkdir "%1"
- for %%f in ("%1*") do (
- time /t >> "%%f"
- date /t >> "%%f"
- copy "%%f" "%1\"
- del "%%f"
- )
- shift
- goto uslov
- :nemaFoldera
- echo Nema foldera!
- :kraj
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement