Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if "%1" == "/?" echo This_file_create_new_file & goto :eof
- set r=%cd%
- if "%1" NEQ "" (
- cd %1\
- )
- set p=Nastya
- set y=.tmp
- :f
- set p=%p%%random%
- if EXIST %p%.tmp (
- goto :f
- ) else (
- echo %p%.tmp
- echo. >%p%.tmp
- )
- cd %r% 1>nul
- goto :eof
Advertisement
Add Comment
Please, Sign In to add comment