snipt

Ctrl+h for KB shortcuts
Notice: Snipt is moving away from free accounts on May 1st, 2014. Read more about the transition here.
#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
2014-04-18T14:07:10
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
2014-04-24T20:51:47
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
#49185

autohotkey

AHK – Insert Plain Text Clipboard

1
2
3
4
5
6
#v::
{
	clipboard=%clipboard%
	Send, ^v
	return
}
https://snipt.net/embed/cce1addb9dcb535792605dbe404862fb/
https://snipt.net/raw/cce1addb9dcb535792605dbe404862fb/
cce1addb9dcb535792605dbe404862fb
ahk
autohotkey
6
2014-04-21T06:43:02
True
False
/api/public/snipt/49185/
insert-plain-text-clipboard
<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> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="nl">#v::</span> </span><span id="L-2"><a name="L-2"></a><span class="p">{</span> </span><span id="L-3"><a name="L-3"></a> <span class="nv">clipboard</span><span class="o">=</span><span class="nv">%clipboard%</span> </span><span id="L-4"><a name="L-4"></a> <span class="nb">Send</span><span class="p">,</span> <span class="o">^</span><span class="n">v</span> </span><span id="L-5"><a name="L-5"></a> <span class="nb">return</span> </span><span id="L-6"><a name="L-6"></a><span class="p">}</span> </span></pre></div> </td></tr></table>
ahk, windows