Paths contained in seach.pro file not loading if search.pro is located on a shared google drive
I am using :
- Creo Parametric 7.0.7.0
- Google drive desktop version 80.0.1.0
- Windows 11 Professionnal Version 22H2
I have a search.pro file and I specified its location with the search_path_file option in the config.pro file.
My issue is that when the search.pro file is located in a shared drive the paths contained in it are not loaded, The search.pro file location on windows look like this :
G:\.shortcut-targets-by-id\1-Ry9DYQu4fjLV_e7jmMnEONCEw71CKav\Shared_folder\02_R&D\Parts & Drawings\search_file_location
I have a bat file build_search_paths.bat that automatically builds the search.pro file with the folders and subfolders next to it, the content is the following :
@echo off
setlocal enabledelayedexpansion
set "OutputFile=search.pro"
if exist "%OutputFile%" del "%OutputFile%"
for /r %%i in (.) do (
set "dirPath=%%i"
set "dirPath=!dirPath:\.=!"
echo "!dirPath!" >> "%OutputFile%"
)
echo Done! Directory paths have been written to "%OutputFile%"
endlocal
My solution for now is to have a "Personal_lib" folder in my creo startup directory where i copy all the folders and subfolders from the drive that i need to load in creo and build the seach.pro file with my bat file in this "Personal lib" folder. This works but this would be super great if it worked directly on the folders from google drive.
I don't even know exactly where the problem is, I have some ideas :
- Special caracters like & or space in paths
- The weird shortcut-targets-by-id at the beginning of the drive shared folder path

