migrating code to initializeWindowsPath
implementing getting path considering architecture