newpath prompt directory location
fabrizio
Is there a way to set the 'starting' position for the newpath prompt? I picture something like pathinfo/s for the open command or forcing 'newpath path, globalPathString' to display a prompt even if globalPathString is valid.
More specifically, my code loads all files in multiple paths each selected by the user, and i want to use the user-selected paths as a starting guess when the code is executed the next time. The behavior of newpath under my windows xp system / Igor 6.22a is to use the last selected directory when undirected, or don't prompt for a path when directed...
Thanks,
Fabrizio
PathInfo /S InitialPath // Set initial path for next NewPath
NewPath /O DataPath // Get the user's path
NewPath /O InitialPath, "C:Windows"
PathInfo /S InitialPath // Set initial path for next NewPath
NewPath /O DataPath // Get the user's path
December 20, 2011 at 05:37 pm - Permalink
- Fabrizio
December 21, 2011 at 08:19 am - Permalink