SyMenu Forum

SyMenu

 

HomeGeneral discussion & questions

Talk about SyMenu or post suggestions, requests, or how-to questions

Change root destination for every program Messages in this topic - RSS

atlerman
atlerman
Posts: 5


16/04/2019
atlerman
atlerman
Posts: 5
Hello i have to build a script that will change the root of every program's shortcuts (hundreds) in one click, i would like to get basic help on where to start. The script will search every entry that contains example D:\ and replace for P:\ so when i switch pc i can quickly change root of portables on the usb key or static drive letter for that pc. If it is possible to implement an option in program that do it; it would be awesome
link
Gianluca
Gianluca
Administrator
Posts: 1274


16/04/2019
Gianluca
Gianluca
Administrator
Posts: 1274
It's not possible because SyMenu doesn't work this way. I can't understand why your items have an absolute path BTW.

SyMenu works always with relative paths so for example this is a typical path:
.\ProgramFiles\SPSSuite\SyMenuSuite\CCS64_sps\CCS64.exe
while this is a wrong one:
H:\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\CCS64_sps\CCS64.exe


And this is exactly the reason for which when a SyMenu user moves its SyMenu installation and all the programs under its control, from a folder to another or from a unit to another, he needs to do nothing to make it works.
When I attach my pen drive in a new PC I don't need to care about the unit letter the PC gives to my unit. SyMenu works the same.
This is portability!



Why do your programs have absolute paths?
link
Gianluca
Gianluca
Administrator
Posts: 1274


16/04/2019
Gianluca
Gianluca
Administrator
Posts: 1274
Maybe you are not using SyMenu for your portable? smile
link
atlerman
atlerman
Posts: 5


16/04/2019
atlerman
atlerman
Posts: 5
ahhh nice, i was doing it correctly with pstart, i didnt move this one with my portable apps it was on a different drive… got it. ty
link



UGMFree © 2002-2024
PayPal BTC TON