Skip to content

Instantly share code, notes, and snippets.

@mtemel123
Created April 13, 2022 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtemel123/c0309730d7ce675a30dc63e8b6f315dd to your computer and use it in GitHub Desktop.
Save mtemel123/c0309730d7ce675a30dc63e8b6f315dd to your computer and use it in GitHub Desktop.
<Configuration>
<VGpu>Disable</VGpu>
<Networking>Enable</Networking>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\sandboxtemp</HostFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
</MappedFolders>
<LogonCommand>
<Command>C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -executionpolicy unrestricted -command "start powershell {-noexit iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); choco feature enable -n allowGlobalConfirmation; choco install take-command PortExpert ; }"</Command>
</LogonCommand>
</Configuration>
@mtemel123
Copy link
Author

echo START %date% %time% >> C:\zv.txt && FORFILES /s /p . /m "*.mp4" /C "cmd /c ffmpeg -i @file -vcodec h264 -acodec aac v_@file && for %I in (v_@file) do (echo @path;@fsize;%~zI) >> C:\zv.txt && del @file && ren v_@file @file" && echo ==FINISH== %date% %time% >> C:\zv.txt && rundll32 user32.dll,MessageBeep && msg "%username%" video comp done

after add this bat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment