<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.raf.cc/index.php?action=history&amp;feed=atom&amp;title=Clink</id>
	<title>Clink - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.raf.cc/index.php?action=history&amp;feed=atom&amp;title=Clink"/>
	<link rel="alternate" type="text/html" href="https://wiki.raf.cc/index.php?title=Clink&amp;action=history"/>
	<updated>2026-04-15T17:48:45Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.raf.cc/index.php?title=Clink&amp;diff=478&amp;oldid=prev</id>
		<title>Admin：​创建页面，内容为“== 安装 == scoop install clink  == 自动启动 == clink autorun set &quot;C:\clink.bat &amp;&amp; C:\Users\Administrator\scoop\apps\clink\current\clink.bat inje  ct --autorun&quot;  但是这样设置有bug，需要改注册表  HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor  AutoRun去掉双引号&lt;syntaxhighlight lang=&quot;bat&quot; line=&quot;1&quot;&gt; clink autorun show  Current AutoRun values    Current user:      native : C:\clink.bat &amp;&amp; C:\Users\Administrator\scoop\apps\clink\cu…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.raf.cc/index.php?title=Clink&amp;diff=478&amp;oldid=prev"/>
		<updated>2024-10-12T02:07:01Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“== 安装 == scoop install clink  == 自动启动 == clink autorun set &amp;quot;C:\clink.bat &amp;amp;&amp;amp; C:\Users\Administrator\scoop\apps\clink\current\clink.bat inje  ct --autorun&amp;quot;  但是这样设置有bug，需要改注册表  HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor  AutoRun去掉双引号&amp;lt;syntaxhighlight lang=&amp;quot;bat&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt; clink autorun show  Current AutoRun values    Current user:      native : C:\clink.bat &amp;amp;&amp;amp; C:\Users\Administrator\scoop\apps\clink\cu…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 安装 ==&lt;br /&gt;
scoop install clink&lt;br /&gt;
&lt;br /&gt;
== 自动启动 ==&lt;br /&gt;
clink autorun set &amp;quot;C:\clink.bat &amp;amp;&amp;amp; C:\Users\Administrator\scoop\apps\clink\current\clink.bat inje&lt;br /&gt;
&lt;br /&gt;
ct --autorun&amp;quot;&lt;br /&gt;
&lt;br /&gt;
但是这样设置有bug，需要改注册表&lt;br /&gt;
&lt;br /&gt;
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor&lt;br /&gt;
&lt;br /&gt;
AutoRun去掉双引号&amp;lt;syntaxhighlight lang=&amp;quot;bat&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
clink autorun show&lt;br /&gt;
&lt;br /&gt;
Current AutoRun values&lt;br /&gt;
&lt;br /&gt;
  Current user:&lt;br /&gt;
&lt;br /&gt;
    native : C:\clink.bat &amp;amp;&amp;amp; C:\Users\Administrator\scoop\apps\clink\current\clink.bat inject --autorun&lt;br /&gt;
&lt;br /&gt;
     wow64 : C:\clink.bat &amp;amp;&amp;amp; C:\Users\Administrator\scoop\apps\clink\current\clink.bat inject --autorun&lt;br /&gt;
&lt;br /&gt;
  All users:&lt;br /&gt;
&lt;br /&gt;
    native : &amp;lt;unset&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     wow64 : &amp;lt;unset&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\clink.bat 可以定义一些别名&amp;lt;syntaxhighlight lang=&amp;quot;bat&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
@echo off&lt;br /&gt;
&lt;br /&gt;
doskey gl=git pull&lt;br /&gt;
doskey gp=git push&lt;br /&gt;
doskey b=cmake --build ./ --config Release&lt;br /&gt;
doskey ll=ls -alh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>