MSFN Forum: Make Windows Explorer Start In C Automaticly - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Make Windows Explorer Start In C Automaticly Rate Topic: -----

#1 User is offline   MyDomain 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 19-December 04
  • OS:none specified
  • Country: Country Flag

  Posted 08 March 2005 - 05:54 PM

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!


#2 User is offline   bucketbuster 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 649
  • Joined: 16-November 03

Posted 08 March 2005 - 06:12 PM

Just put the shortcut on your CD.
And copy it back using copy or move or xcopy from a batch file.

#3 User is offline   <SparTacuS> 

  • I want to know . . . everything!
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 24-April 04

Posted 08 March 2005 - 06:34 PM

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:\"


#4 User is offline   tguy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 698
  • Joined: 19-May 04

Posted 08 March 2005 - 07:57 PM

I do mine with vbScript like this:

'Create Windows Explorer Desktop icon
Set 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 = 1
link.WorkingDirectory = "%HOMEDRIVE%%HOMEPATH%"
link.Save

'Create Windows Explorer Quick Launch icon
Const OverwriteExisting = True
Set 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\", OverwriteExisting
Else
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\", OverwriteExisting
End If
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\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\", OverwriteExisting
Else
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\", OverwriteExisting
End If
objFSO.CopyFile "C:\Documents and Settings\All Users\Desktop\Explorer.lnk" , "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch\", OverwriteExisting

#5 User is offline   MyDomain 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 19-December 04
  • OS:none specified
  • Country: Country Flag

Posted 09 March 2005 - 03:00 AM

Oke thanks, i'll try this out when i'm back home tonight...

Cheers!

#6 User is offline   Shark007 

  • Repackaging Specialist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,154
  • Joined: 07-January 04

Posted 09 March 2005 - 05:37 AM

To start explorer in 'C' drive simply use this as this as the target for your shortcut.
explorer.exe /e,/select


Shark

ps: to have it start on 'My Computer' use this as the target.
%SystemRoot%\explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}


#7 User is offline   MyDomain 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 19-December 04
  • OS:none specified
  • Country: Country Flag

Posted 09 March 2005 - 08:38 AM

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!

#8 User is offline   CyberWarrior 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 03-July 05

Posted 28 July 2005 - 07:54 AM

Hey

Simple way to see it all
Just rightclick on Explorateur Windows and in the target path change
%SystemRoot%\explorer.exe to %SystemRoot%\explorer.scf B)

Very simple :thumbup

#9 User is offline   Sonic 

  • Sonic
  • Group: Patrons
  • Posts: 1,600
  • Joined: 04-December 03

Posted 28 July 2005 - 12:17 PM

CyberWarrior, on Jul 28 2005, 07:54 AM, said:

Hey

Simple way to see it all
Just rightclick on Explorateur Windows and in the target path change
%SystemRoot%\explorer.exe to %SystemRoot%\explorer.scf  B)

Very simple  :thumbup
<{POST_SNAPBACK}>


MyDomain wants an automatised method ...

#10 User is offline   oioldman 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 967
  • Joined: 16-April 04
  • OS:Windows 7 x64

Posted 29 July 2005 - 02:50 AM

look at this Microsoft Article;
How to Customize the Windows Explorer Views in Windows XP

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy