sykocus Posted June 17, 2004 Share Posted June 17, 2004 i've tried putting shortcuts in the C:\XPCD\$OEM$\$Docs\All Users\Start Menu\Startup folder, but they don't end up in the start menu after the install finishes. is the only way around this to make a batch file that manually copy shortcuts? Link to comment Share on other sites More sharing options...
MCT Posted June 17, 2004 Share Posted June 17, 2004 what are u wanting 2 do? add a bunch of startup things? why not do it via registry?regards Link to comment Share on other sites More sharing options...
[BM]Crusher Posted June 17, 2004 Share Posted June 17, 2004 for %%i in (C: D: E: F: G: H: I: J: K: L:) do if exist %%i\CD.txt set CDROM=%%ixcopy "%cdrom%\shortcut\*.lnk" "%allusersprofile%\start menu\programs\startup" /Vthat will copy shortcuts from a folder named "shortcut" from the cd into the all users startup folder...however, if you are using this method to install programs you are doing it the wrong way... the correct way to run program installs is from runonce or other such methods (not the startup folder)if you are doing it to install a program such as "Folding@Home" you can do what I do:@echo offmkdir "%systemdrive%\Program Files\FAH"move "%systemdrive%\Folding\FAH.lnk" "%AllUsersProfile%\Start Menu\Programs\Startup"copy "%systemdrive%\Folding\*.*" "%systemdrive%\Program Files\FAH" Link to comment Share on other sites More sharing options...
sykocus Posted June 17, 2004 Author Share Posted June 17, 2004 Crusher,Jun 16 2004, 10:21 PM] for %%i in (C: D: E: F: G: H: I: J: K: L:) do if exist %%i\CD.txt set CDROM=%%ixcopy "%cdrom%\shortcut\*.lnk" "%allusersprofile%\start menu\programs\startup" /Vthat will copy shortcuts from a folder named "shortcut" from the cd into the all users startup folder...however, if you are using this method to install programs you are doing it the wrong way... the correct way to run program installs is from runonce or other such methods (not the startup folder)that was how i was thinking to fall back on. i'm using this for a couple of the program where i only have to copy the install directory into the $progs folder, or programs that don't start themsevles automatically. Link to comment Share on other sites More sharing options...
killerbee Posted June 17, 2004 Share Posted June 17, 2004 hi,you could also search the forums for a "shortcut.exe", with it you can create your own shortcuts whereever you need them.hope this helps a bitcyaKiller Bee Link to comment Share on other sites More sharing options...
<SparTacuS> Posted June 17, 2004 Share Posted June 17, 2004 re shortcut.exeQuick explanation & Link to downloadThis post. 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