MyDomain Posted March 8, 2005 Share Posted March 8, 2005 Hi i got something new that i'm trying to figger out. As the title says... i want to get Windows Explorer to start in C automaticly. I know how to make this happen manually by changing the target in the shortcut, or atleast by adding: /n,/e,c: to the end of the already excisting target path.But how can i make this happen during my unattended CD, maybe with a registry tweak or a cmd file that changes the target path for me.How can i make this happen? If possible?It is enough if i can only change the target file of the Windows Explorer link in the Start Menu, i can then copy that link to my desktop and quicklaunch.Hope this is possible...Thanks in advance, cheers! Link to comment Share on other sites More sharing options...
bucketbuster Posted March 9, 2005 Share Posted March 9, 2005 Just put the shortcut on your CD.And copy it back using copy or move or xcopy from a batch file. Link to comment Share on other sites More sharing options...
<SparTacuS> Posted March 9, 2005 Share Posted March 9, 2005 I create my link using shortcut.exe (do a search) with the command;shortcut.exe /F:"%AllUsersProfile%\Start Menu\File Management\Windows Explorer.lnk" /A:C /T:"%SystemRoot%\explorer.EXE" /I:explorer.EXE,1 /R:1 /P:"/n, /e, /select, C:\" Link to comment Share on other sites More sharing options...
tguy Posted March 9, 2005 Share Posted March 9, 2005 I do mine with vbScript like this:'Create Windows Explorer Desktop iconSet Shell = CreateObject("WScript.Shell")DesktopPath = Shell.SpecialFolders("AllUsersDesktop")Set link = Shell.CreateShortcut(DesktopPath & "\Explorer.lnk")link.Arguments = "/n,/e,c:\"link.Description = "Explorer link"link.HotKey = "CTRL+ALT+SHIFT+E"link.IconLocation = "%SystemRoot%\explorer.exe"link.TargetPath = "%SystemRoot%\explorer.exe"link.WindowStyle = 1link.WorkingDirectory = "%HOMEDRIVE%%HOMEPATH%"link.Save'Create Windows Explorer Quick Launch iconConst OverwriteExisting = TrueSet objFSO = CreateObject("Scripting.FileSystemObject")If objFSO.FolderExists("C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\") Then objFSO.CopyFile "C:\Documents and Settings\All Users\Desktop\Explorer.lnk" , "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch\", OverwriteExistingElse Set objFolder = objFSO.CreateFolder("C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch\") objFSO.CopyFile "C:\Documents and Settings\All Users\Desktop\Explorer.lnk" , "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch\", OverwriteExistingEnd IfIf objFSO.FolderExists("C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\") Then objFSO.CopyFile "C:\Documents and Settings\All Users\Desktop\Explorer.lnk" , "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\", OverwriteExistingElse Set objFolder = objFSO.CreateFolder("C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\") objFSO.CopyFile "C:\Documents and Settings\All Users\Desktop\Explorer.lnk" , "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\", OverwriteExistingEnd IfobjFSO.CopyFile "C:\Documents and Settings\All Users\Desktop\Explorer.lnk" , "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch\", OverwriteExisting Link to comment Share on other sites More sharing options...
MyDomain Posted March 9, 2005 Author Share Posted March 9, 2005 Oke thanks, i'll try this out when i'm back home tonight...Cheers! Link to comment Share on other sites More sharing options...
Shark007 Posted March 9, 2005 Share Posted March 9, 2005 To start explorer in 'C' drive simply use this as this as the target for your shortcut.explorer.exe /e,/selectSharkps: to have it start on 'My Computer' use this as the target.%SystemRoot%\explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D} Link to comment Share on other sites More sharing options...
MyDomain Posted March 9, 2005 Author Share Posted March 9, 2005 Thanks, i already knew that target path had to be /n,/e,c: but just needed to get the shortcut to have that automaticly, kinda stupide that i didn't thought of just copying the shortcut from my CD, it's so easy... but i was thinking to difficult.Thanks! cheers! Link to comment Share on other sites More sharing options...
CyberWarrior Posted July 28, 2005 Share Posted July 28, 2005 HeySimple way to see it allJust rightclick on Explorateur Windows and in the target path change%SystemRoot%\explorer.exe to %SystemRoot%\explorer.scf B) Very simple Link to comment Share on other sites More sharing options...
Sonic Posted July 28, 2005 Share Posted July 28, 2005 HeySimple way to see it allJust rightclick on Explorateur Windows and in the target path change%SystemRoot%\explorer.exe to %SystemRoot%\explorer.scf B) Very simple <{POST_SNAPBACK}>MyDomain wants an automatised method ... Link to comment Share on other sites More sharing options...
oioldman Posted July 29, 2005 Share Posted July 29, 2005 look at this Microsoft Article;How to Customize the Windows Explorer Views in Windows XP 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