zone97 Posted January 6, 2017 Author Share Posted January 6, 2017 @careca The reason for this is it has to have a starting point of reference. Therefor it always starts from root and moves up the tree. I do not know of anyway to have it know from where it is how to go to any folder on a drive not from root? Spoiler WinSizer 2.1 (01/04/2017) - Download - [ Windows Layout Manager ]Folder+Program (12/23/2016) - Download - [ USB Shortcut Creator ] Link to comment Share on other sites More sharing options...
careca Posted January 6, 2017 Share Posted January 6, 2017 It's very simple, and the answer is in the post 17 where i posted the code. Split path, use first part, and join with the rest. If you take a look at it, you'll see how it works. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
zone97 Posted January 6, 2017 Author Share Posted January 6, 2017 (edited) Ok so lets see if I understand what it is you'd like to see it be able to do.. For this example lets say your using a thumb drive with a drive letter of X: and you have a folder tree that looks like this. X:. +---Tools | +---Sometool.exe | +---SomeOtherTool.exe | | | \---AppFolder | +---TheApp.exe +---Shortcuts +---Useless data and you want the shortcuts to be able to reside like this. X:. +---Tools | +---Sometool.exe | +---SomeOtherTool.exe | | | \---AppFolder | +---TheApp.exe +---Shortcuts | +---TheApp +Tools+AppFolder+TheApp.exe | +---Sometool +Tools.exe +---Useless data instead of having to use the root folder or the tools folder? What I would have to do is, set it so that items created behind the folder where the shortcut app is. The first folder will need to start with say an = not a +, meaning to start from the root and move forward, not the current folder. Would that work? Edited January 6, 2017 by zone97 Spoiler WinSizer 2.1 (01/04/2017) - Download - [ Windows Layout Manager ]Folder+Program (12/23/2016) - Download - [ USB Shortcut Creator ] Link to comment Share on other sites More sharing options...
careca Posted January 6, 2017 Share Posted January 6, 2017 Yes, my example works that way, if you need it to. Basically, it will open any file in any folder, all, subfolder, or folder in another directory structure. So yes, it can be inside folder "Shortcuts", and open "TheApp.exe" in another "structure" This is because it works differently than yours, you are working in relative manner Have you tried it and compare? Best regards. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
zone97 Posted January 6, 2017 Author Share Posted January 6, 2017 25 minutes ago, careca said: Yes, my example works that way, if you need it to. Basically, it will open any file in any folder, all, subfolder, or folder in another directory structure. So yes, it can be inside folder "Shortcuts", and open "TheApp.exe" in another "structure" This is because it works differently than yours, you are working in relative manner Have you tried it and compare? Best regards. Ok I see what you've done.. You are using @ScriptFullPath to get the whole path starting from the root forward so that way the short can be anywhere. Only down side to that method is the file names could get long. But still functional. Spoiler WinSizer 2.1 (01/04/2017) - Download - [ Windows Layout Manager ]Folder+Program (12/23/2016) - Download - [ USB Shortcut Creator ] Link to comment Share on other sites More sharing options...
careca Posted January 7, 2017 Share Posted January 7, 2017 Yes. Why quote me? It's just the two of us here. Best regards. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
zone97 Posted January 7, 2017 Author Share Posted January 7, 2017 Just the two of us..(singing) Anyway, Check out the latest version see if this is more of what you had in mind. Let me know if it has any more glitches. Spoiler WinSizer 2.1 (01/04/2017) - Download - [ Windows Layout Manager ]Folder+Program (12/23/2016) - Download - [ USB Shortcut Creator ] Link to comment Share on other sites More sharing options...
careca Posted January 7, 2017 Share Posted January 7, 2017 Yep, works better now, IMO. Great job. zone97 1 Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
zone97 Posted January 7, 2017 Author Share Posted January 7, 2017 Thank you. Spoiler WinSizer 2.1 (01/04/2017) - Download - [ Windows Layout Manager ]Folder+Program (12/23/2016) - Download - [ USB Shortcut Creator ] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now