I have recently been preparing some custom install scripts lately and I found a few things that may prove to be of some use! This script deletes a file silently and will not report the result in the console window.
Code Snippet
@echo off
del /s randomtextfile.txt >nul 2>&1 REM Delete file silently
No comments:
Post a Comment