Changes
→there is no need to "map your repository first": new section
[[User:AndrewS|AndrewS]] 05:11, 21 December 2010 (CET)
== there is no need to "map your repository first" ==
The page states:
<div style="font-size:smaller;padding-left:2em">
Note 1: CTUpdate cannot be run from a non-mapped drive, so make sure you map your repository first. The bat-file below expects %WPKG_DRIVE% to be set to this drive. Alternatively, you can modify the bat-file to temporarily map the drive. (net use x: \\ntinstall\wpkg /PERSISTENT:no)
</div>
That "map your repository first" and "expects %WPKG_DRIVE%" are quite unnecessary if the .cmd were to use 'pushd' instead of 'cd'.
Like so:<br />
<div style="font-family:monospace;font-size:larger;padding-left:2em;">
'''pushd''' <span style="color:red">"</span>%SOFTWARE%\ctupdate4\client\cmd<span style="color:red">"</span><br />
''call'' doupdate.cmd %*<br />
'''popd'''
</div>
-- [[Special:Contributions/79.225.9.29|79.225.9.29]] 13:44, 3 July 2012 (CEST)