Pies Posted September 23, 2008 Share Posted September 23, 2008 helloweee, can someone tell me what code should I write in order to make a shortcut icon to the desktop from a folder in program files. Because im trying to automate on copying a whole folder going to other folder. But after the copying, I need to create a shortcut of the .exe file in order for the program to be used. I know how to copy the .exe file, but the program is not starting. So I need to create s shortcut. "Failure is the key to success. So try and try until you succeed!" Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted September 23, 2008 Share Posted September 23, 2008 FileCreateShortcut() .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
tgarr Posted September 23, 2008 Share Posted September 23, 2008 helloweee, can someone tell me what code should I write in order to make a shortcut icon to the desktop from a folder in program files. Because im trying to automate on copying a whole folder going to other folder. But after the copying, I need to create a shortcut of the .exe file in order for the program to be used. I know how to copy the .exe file, but the program is not starting. So I need to create s shortcut.why can't you just call or run the program from it's new or original location? 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