republican-creole
Search:  

 
   All ForumsHot TopicsGallery
 
Forums » Tech and Talk » OS and Software » Microsoft Help » [Vista] Pathnames/Folder Redirection???
Search Topic:
Uniqs:
769
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[W2K] upgrading from win2k advanced server to xp pro? »
« [Vista] Blocking Automatic Root Certificates Update?  
AuthorAll Replies


JaM4150
Premium
join:2005-10-27
Matamoras, PA
clubs:
·DIRECTV
·Charter Pipeline
·Verizon Online DSL
·T-Mobile US
·Optimum Online

 [Vista] Pathnames/Folder Redirection???

I moved all of my music files from my XP desktop to my new Vista laptop.

I have a lot of entries in my iTunes music library file pointing to C:\Documents and Settings\John\My Documents\My Music which is the old pathname on my XP desktop. Is there a way within Vista to redirect that old pathname to its newer one C:\Users\John\Music ?


bcastner
Premium,VIP,MVM
join:2002-09-25
Chevy Chase, MD
clubs:
·Verizon Online DSL


2 edits
There is nothing preventing you from creating a new folder: C:\Documents and Settings\John\My Documents\My Music and placing your iTunes in that new folder.

You could do what Vista automatically does for backwards compatability, and create a junction point. The below shows the default junction points under Vista:

C:\>dir /s /AL * | findstr JUNCTION

11/02/2006 06:01 Documents and Settings [C:\Users]
11/02/2006 06:01 Application Data [C:\ProgramData]
11/02/2006 06:01 Desktop [C:\Users\Public\Desktop]
11/02/2006 06:01 Documents [C:\Users\Public\Documents]
11/02/2006 06:01 Favorites [C:\Users\Public\Favorites]
11/02/2006 06:01 Start Menu

[C:\ProgramData\Microsoft\Windows\Start Menu]
11/02/2006 06:01 Templates

[C:\ProgramData\Microsoft\Windows\Templates]
11/02/2006 06:01 Default User [C:\Users\Default]
11/02/2006 06:01 Application Data [C:\ProgramData]
11/02/2006 06:01 Desktop [C:\Users\Public\Desktop]
11/02/2006 06:01 Documents [C:\Users\Public\Documents]
11/02/2006 06:01 Favorites [C:\Users\Public\Favorites]
11/02/2006 06:01 Start Menu

[C:\ProgramData\Microsoft\Windows\Start Menu]
11/02/2006 06:01 Templates

[C:\ProgramData\Microsoft\Windows\Templates]
11/02/2006 06:01 Application Data

[C:\Users\Default\AppData\Roaming]
11/02/2006 06:01 Cookies

[C:\Users\Default\AppData\Roaming\Microsoft\Windows\Cookies]
11/02/2006 06:01 Local Settings

[C:\Users\Default\AppData\Local]
11/02/2006 06:01 My Documents

[C:\Users\Default\Documents]
11/02/2006 06:01 NetHood

[C:\Users\Default\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
11/02/2006 06:01 PrintHood

[C:\Users\Default\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
11/02/2006 06:01 Recent

[C:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent]
11/02/2006 06:01 SendTo

[C:\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo]
11/02/2006 06:01 Start Menu

[C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu]
11/02/2006 06:01 Templates

[C:\Users\Default\AppData\Roaming\Microsoft\Windows\Templates]
11/02/2006 06:01 Application Data

[C:\Users\Default\AppData\Local]
11/02/2006 06:01 History

[C:\Users\Default\AppData\Local\Microsoft\Windows\History]
11/02/2006 06:01 Temporary Internet Files

[C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files]
11/02/2006 06:01 My Music [C:\Users\Default\Music]
11/02/2006 06:01 My Pictures [C:\Users\Default\Pictures]
11/02/2006 06:01 My Videos [C:\Users\Default\Videos]
12/01/2006 15:48 Application Data

[C:\Users\Bill Castner\AppData\Roaming]
12/01/2006 15:48 Cookies

[C:\Users\Bill Castner\AppData\Roaming\Microsoft\Windows\Cookies]
12/01/2006 15:48 Local Settings

[C:\Users\Bill Castner\AppData\Local]
12/01/2006 15:48 My Documents [C:\Users\Bill Castner\Documents]
12/01/2006 15:48 NetHood

[C:\Users\Bill Castner\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
12/01/2006 15:48 PrintHood

[C:\Users\Bill Castner\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
12/01/2006 15:48 Recent

[C:\Users\Bill Castner\AppData\Roaming\Microsoft\Windows\Recent]
12/01/2006 15:48 SendTo

[C:\Users\Bill Castner\AppData\Roaming\Microsoft\Windows\SendTo]
12/01/2006 15:48 Start Menu

[C:\Users\Bill Castner\AppData\Roaming\Microsoft\Windows\Start Menu]
12/01/2006 15:48 Templates

[C:\Users\Bill Castner\AppData\Roaming\Microsoft\Windows\Templates]
12/01/2006 15:48 Application Data

[C:\Users\Bill Castner\AppData\Local]
12/01/2006 15:48 History

[C:\Users\Bill Castner\AppData\Local\Microsoft\Windows\History]
12/01/2006 15:48 Temporary Internet Files

In an elevated Command Prompt under Vista, you can use the new command line utility MKLINK.

MKLINK [[/D] | [/H] | [/J]] Link Target

Default is a file symbolic link

/D Creates a directory symbolic link.

/H Creates a hard link instead of a symbolic link

/J Creates a Directory Junction

Link specifies the new symbolic link name

Target specifies the path (relative or absolute) that the new link refers to.

In this case, the default command (without any options) will create a symbolic or soft link to a file, which works very much like a shortcut in Windows XP. For example, the command

mklink pad.exe notepad.exe
will create a file symbolic link such that typing pad.exe will allow you to launch notepad.exe.

Using the /D option will create a symbolic or soft link to a folder, which also works like a shortcut in Windows XP. For example, the command

mklink /D c:\one c:\two\three\four
will create a soft link, or a shortcut called one that points to the nested folder four.

The /H option will create a hard link rather than a soft link. The difference here is that instead of working like a shortcut, this hard link is more like renaming the file. For example, the command

mklink /H pad.exe notepad.exe
will make the operating system treat pad.exe as if it is actually notepad.exe.

Finally, the /J option will create a hard link to a folder. This is also called a directory junction or junction point and instead of working like a shortcut to a folder, a hard link works more like a regular folder. For example, the command

mklink /J c:\one c:\two\three\four
will make the operating system work with the long directory structure c:\two\three\four just as it were a single directory named c:\one.

When you're finished with any one of these types of symbolic links, you can terminate the link simply by deleting the link. For example, to terminate the one hard link, you'd simply delete the c:\one folder. However, since the link is terminated first and c:\one folder is actually empty, you needn't be concerned about data loss in the c:\two\three\four folder.

Reference: »articles.techrepublic.com.com/51···180.html

--
============
MS-MVP 2004 - -2008, ASAP Member
Users Helping Users

-
Forums » Tech and Talk » OS and Software » Microsoft Help[W2K] upgrading from win2k advanced server to xp pro? »
« [Vista] Blocking Automatic Root Certificates Update?  


Monday, 23-Nov 15:04:37 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [48] New AT&T Ad Campaign Hits Back At Verizon
· [21] Earthlink Suffers From Major E-mail Outage
· [19] Frontier Increases Modem Rental Fee
· [13] AT&T Offers New Prepaid Wireless plans
· [6] Vivendi In Way Of Comcast's NBC Desires
· [4] Monday Morning Links
Most people now reading
· Bell's Network Management practices page [TekSavvy]
· Best Bluray player [General Questions]
· Extra charge to use Master Card instead of Visa? [General Questions]
· Windows 7 boot manager editing questions [Microsoft Help]
· Big Bank Alternative to Bank of America? [General Questions]
· Rate my website [General Questions]
· linux box alternative to NetEqualizer ? ? Does it exist? [Wireless Service Providers]
· low moonkin dmg [World of Warcraft]