Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setlocal
- set "TWEET=%TEMP%\tweet.txt"
- type nul > "%TWEET%"
- gvim "%TWEET%"
- if errorlevel 1 exit /b
- set "CONTENT="
- for /F "tokens=*" %%I in ('type "%TWEET%"') do call :set "%%~I"
- if "%CONTENT%" == "" exit /b
- echo "%CONTENT%"
- endlocal
- exit /b
- :set
- set "CONTENT=%CONTENT%%~1 "
- exit /b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement