sshrum Posted November 3, 2005 Posted November 3, 2005 (edited) using beta 84 I've created a script that is simply this: FileCreateShortcut('"H:\930\Customer Support Scripts\Batch\std_install_1.bat"',@StartupCommonDir & "\baseload.lnk") On my own box (that has the mapping to h:), the shortcut gets created properly. > "H:\930\Customer Support Scripts\Batch\std_install_1.bat" When I run the script on a PC that does not yet have the mapping I get the following back: > "H:\930\Customer\Batch\std_install_1.bat" (Note that " Support Scripts" is missing) The drive mapping will be there when the PC reboots but the shortcut will fail cuz it dropped out the correct path info. Why is AutoIT doing this? Argh! TIA Edited November 3, 2005 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot'
Valuater Posted November 4, 2005 Posted November 4, 2005 make it create the schort cut after rebooting by putting a shor script in the start-up then it creates the shortcut and deletes itself too maybe??? 8)
sshrum Posted November 4, 2005 Author Posted November 4, 2005 But this should work. Maybe I should report it as a bug perhaps? Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot'
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