to have explorer start in C:\ instead of My Documents put this in as the target/exe/link or what ever
C:\WINDOWS\explorer.scf
to have explorer start in C:\ instead of My Documents put this in as the target/exe/link or what ever
C:\WINDOWS\explorer.scf
Huh? ![]()
Explorer.scf is just a shell command file one can use instead of Explorer.exe to open Windows Explorer.
Explorer.exe looks into the registry to find out what directory to open in.
Which requires a reg hack to change the default location.
Explorer.scf just opens Windows Explorer to the root of C:\.
Here is Explorer.scf contents in all it's glory.
[Shell]
Command=2
IconFile=explorer.exe,1
[Taskbar]
Command=Explorer
ooooooh it's magical. <_<
Not!
Originally posted by rjohnstone@Aug 7 2003, 10:02 PM-->QUOTE(rjohnstone @ Aug 7 2003, 10:02 PM)Explorer.scf is just a shell command file one can use instead of Explorer.exe to open Windows Explorer.Explorer.exe looks into the registry to find out what directory to open in.
Which requires a reg hack to change the default location.
Explorer.scf just opens Windows Explorer to the root of C:\.
Here is Explorer.scf contents in all it's glory.
[Shell]Command=2IconFile=explorer.exe,1[Taskbar]<!--QuoteEBegin
[b]ooooooh it's magical. <_<
Not!
I found junos tip useful. Just because you arent impressed doesnt mean you have to be rude. Be nice, according to the board guidelines.
------------
deadzombie
Forum Mod
No rudeness intended toward anyone... my apologies if it was taken that way.
The sarcasim was directed toward M$ who created the file.
M$ should have just given users easier access to modify how Explorer opens up.
Not some cheesy script file that requires you to modify any or all shortcuts related to Explorer.
Edit: BTW, I use the file all the time as well.
It's been around since the old win95 days and hasn't changed in almost 8 years.
thank you.
Here is another way to configure Explorer as well if you want to use a drive other than C:\
The limitation with the .scf file is it will only give you the root of C:\
Taken straight from M$ web site.
To change the default startup folder for Windows Explorer:
Modify the shortcut like this.
In the Target box, append the "/root" command-line switch to the "%SystemRoot%\Explorer.exe" command, using the startup location that you want. For example, if you want Windows Explorer to start at the root of drive D, edit the command to the following:
%SystemRoot%\Explorer.exe /root, D:\
or whatever other drive you choose.
Other examples:
Explorer /n
This command opens an Explorer window using the default setting. This is usually the root of the drive on which Windows is installed.
Explorer /e
This command starts Windows Explorer using the default view.
Explorer /e,C:\Windows
This command starts Windows Explorer using the default view, with the focus on C:\Windows.
Explorer /root, C:\Windows\Cursors
This command starts Windows Explorer at the C:\Windows\Cursors folder. This example uses C:\Windows\Cursors as the "root" directory for Windows Explorer.
NOTE: Note the comma after the "/root" switch in the command.
Explorer /select, C:\Windows\Cursors\banana.ani
This command starts Windows Explorer with the "C:\Windows\Cursors\banana.ani" file selected.
NOTE: Note the comma after the "/select" switch in the command.
Hope this can be helpful as well.