<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Working Directory on Marko Apfel</title><link>http://blog.marko-apfel.de/tags/working-directory/</link><description>Recent content in Working Directory on Marko Apfel</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 29 Dec 2010 11:56:00 +0100</lastBuildDate><atom:link href="http://blog.marko-apfel.de/tags/working-directory/index.xml" rel="self" type="application/rss+xml"/><item><title>Current working path of batches evaluates to distinct folders for different users</title><link>http://blog.marko-apfel.de/posts/current-working-path-of-batches-evaluates-to-distinct-folders-for-different-users/</link><pubDate>Wed, 29 Dec 2010 11:56:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/current-working-path-of-batches-evaluates-to-distinct-folders-for-different-users/</guid><description>&lt;p&gt;Lets have a batch with the following content:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bat" data-lang="bat"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 1: ECHO &lt;span class="nv"&gt;%CD%&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 2:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; 3: PAUSE
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then this batch runs by double-clicking in the folder with the batch:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
 &lt;img src="http://blog.marko-apfel.de/posts/current-working-path-of-batches-evaluates-to-distinct-folders-for-different-users/currentworkingpath-01-currentuser.png" alt="Screenshot for Current working path of batches evaluates to distinct folders for different users" loading="lazy" decoding="async"&gt;&lt;/figure&gt;&lt;/p&gt;</description></item></channel></rss>