Commit in reactos/subsys/system/setup on ros-branch-0_2_3
setup.c+91.2 -> 1.2.10.1
Put Command Prompt link on Administrators desktop

reactos/subsys/system/setup
setup.c 1.2 -> 1.2.10.1
diff -u -r1.2 -r1.2.10.1
--- setup.c	14 Jan 2004 23:17:50 -0000	1.2
+++ setup.c	23 Jun 2004 10:23:08 -0000	1.2.10.1
@@ -115,7 +115,16 @@
 
   CoInitialize(NULL);
 
+  /* At this point, if we ask for the desktop folder we get the path to the
+   * Default User desktop. Since we've already copied the Default User profile
+   * (including desktop) to the Administrator profile, this won't do. Would
+   * be better to use CSIDL_COMMON_DESKTOPDIR, but RosExplorer doesn't seem to
+   * scan that one. So, for now, just use a hardcoded path */
+#if 0
   SHGetSpecialFolderPathA(0, path, CSIDL_DESKTOP, TRUE);
+#else
+  strcpy(path, "C:\\Documents and Settings\\Administrator.REACTOS\\Desktop");
+#endif
   p = PathAddBackslashA(path);
 
   strcpy(p, "Command Prompt.lnk");
CVSspam 0.2.8