Lines Matching refs:path
199 batfile_thisversion(char *path) in batfile_thisversion() argument
206 fd = fopen(path, "r"); in batfile_thisversion()
255 remove_if_exists(char *path, char *filename) in remove_if_exists() argument
260 sprintf(buf, "%s\\%s", path, filename); in remove_if_exists()
274 char path[BUFSIZE]; in remove_icons() local
277 if (get_shell_folder_path(path, "desktop")) in remove_icons()
279 remove_if_exists(path, icon_link_names[i]); in remove_icons()
285 char path[BUFSIZE]; in remove_start_menu() local
289 if (get_shell_folder_path(path, VIM_STARTMENU)) in remove_start_menu()
292 remove_if_exists(path, targets[i].lnkname); in remove_start_menu()
293 remove_if_exists(path, "uninstall.lnk"); in remove_start_menu()
294 remove_if_exists(path, "Help.lnk"); in remove_start_menu()
296 remove_if_exists(path, "Vim tutor.pif"); in remove_start_menu()
297 remove_if_exists(path, "Vim tutor.lnk"); in remove_start_menu()
298 remove_if_exists(path, "Vim online.url"); in remove_start_menu()
299 if (stat(path, &st) == 0) in remove_start_menu()
301 printf("removing %s\n", path); in remove_start_menu()
302 rmdir(path); in remove_start_menu()
321 char path[MAX_PATH]; in main() local
358 if (get_shell_folder_path(path, "desktop")) in main()
363 sprintf(icon, "%s\\%s", path, icon_link_names[i]); in main()
379 if (get_shell_folder_path(path, VIM_STARTMENU) in main()
380 && stat(path, &st) == 0) in main()