HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Windows XP / 2000 / NT / 9x Forum


Windows XP / 2000 / NT / 9x Forum Discussion for Windows operating systems from XP right back to the very beginnings!

Reply
 
Thread Tools
Old Dec 23, 2003, 06:31 AM   #1
Frikkin COmputer~!
 
Join Date: Jul 2002
Location: Kaysville, Utah
Posts: 131
Rep Power: 0
giganick is on a distinguished road

Default Folder

does anyone know how to set another folder other than 'My Documents' as the default save folder??..thanks
giganick is offline   Reply With Quote


Old Dec 23, 2003, 10:48 AM   #2
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0
UberLord will become famous soon enough

This is not OT - moved!
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Dec 23, 2003, 10:53 AM   #3
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0
UberLord will become famous soon enough

Most applictaions save to My Documents by default

From a code perspective this is worked out by a windows API call. So if an application does not remember the default folder you want, you can change the registry - but it will affect ALL applications that use this.

Code:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
There you should see lots of default values for you to change
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Dec 26, 2003, 08:46 AM   #4
Member
 
Join Date: Mar 2003
Posts: 5,989
Rep Power: 71
PangingJr is just really nicePangingJr is just really nicePangingJr is just really nicePangingJr is just really nice

Changing the Default Location of the My Documents Folder in WinXP.

Open the Run.. box (start ->run) and type.. my documents
and hit enter. the command will open "My Documents" window,
R-click on the icon located at top left corner of the title bar,
select Properties.. to open My Documents Properties,
at Target tab, select Move (or type in the path to the folder location that you want. in there you'll also see an option to restore the My Documents folder to its default location). Windows Registry will be updated automatically.
PangingJr is offline   Reply With Quote
Old Dec 26, 2003, 09:01 AM   #5
Member
 
Join Date: Mar 2003
Posts: 5,989
Rep Power: 71
PangingJr is just really nicePangingJr is just really nicePangingJr is just really nicePangingJr is just really nice

FYI.... and more info on this...

There is no global Default Programs decide for themselves.
In winXP, My Documents is 5th choice (ie the previous 4 options didn't apply).
The 6th and final default is the Desktop if it can't find a My Documents.
Entirely depends on the program. It's under the programs control.
It's entirely up to the program. If the program doesn't specify these
are the rules.
Quote:
lpstrInitialDir.. Pointer to a NULL terminated string that can specify the initial directory. The algorithm for selecting the initial directory varies on different platforms.

Windows 2000/XP:

1)-If lpstrFile contains a path, that path is the initial directory.
2)-Otherwise, lpstrInitialDir specifies the initial directory.
3)-Otherwise, if the application has used an Open or Save As dialog box in the past, the path most recently used is selected as the initial directory. However, if an application is not run for a long time, its saved selected path is discarded.
4)-If lpstrInitialDir is NULL and the current directory contains any files of the specified filter types, the initial directory is the current directory.
5)-Otherwise, the initial directory is the personal files directory of the current user.
6)-Otherwise, the initial directory is the Desktop folder.
more info...
PangingJr is offline   Reply With Quote
Reply

Thread Tools