snipt

Ctrl+h for KB shortcuts
Sign up for : store and share your own code snippets.
#49223

Batchfile

CMD – Set Default Printer

RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "PDFCreator"
https://snipt.net/embed/8ac1af6b841ef4ae1b765d5b45dc6155/
https://snipt.net/raw/8ac1af6b841ef4ae1b765d5b45dc6155/
8ac1af6b841ef4ae1b765d5b45dc6155
bat
Batchfile
1
2015-02-18T12:00:38
True
False
/api/public/snipt/49223/
cmd-set-default-printer
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>RUNDLL<span class="m">32</span> PRINTUI.DLL<span class="p">,</span>PrintUIEntry <span class="n">/y</span> <span class="n">/n</span> <span class="s2">&quot;PDFCreator&quot;</span> </span></pre></div> </td></tr></table>
cmd, print, windows
#49189

Batchfile

CMD – Clean Windows

1
2
3
4
ipconfig /flushdns

"C:\Program Files\CCleaner\CCleaner.exe" /auto
del /S /Q "C:\Temp"
https://snipt.net/embed/26a281bbf56633fc0f8795be6dcbfa6c/
https://snipt.net/raw/26a281bbf56633fc0f8795be6dcbfa6c/
26a281bbf56633fc0f8795be6dcbfa6c
bat
Batchfile
4
2015-02-20T08:03:44
True
False
/api/public/snipt/49189/
clean-windows
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>ipconfig <span class="n">/flushdns</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="s2">&quot;C:\Program Files\CCleaner\CCleaner.exe&quot;</span> <span class="n">/auto</span> </span><span id="L-4"><a name="L-4"></a><span class="k">del</span> <span class="n">/S</span> <span class="n">/Q</span> <span class="s2">&quot;C:\Temp&quot;</span> </span></pre></div> </td></tr></table>
cmd, windows
Copyrighted, illegal, or inappropriate content? Email [email protected].