読者です 読者をやめる 読者になる 読者になる

memo

memo dayo.

[windows] シンボリックリンクを作成する

windows
mklink /d dirsymlink diroriginal
mklink filesymlink fileoriginal

例:マイドキュメントをデスクトップに指定する

cd c:\
rmdir /S /Q  c:\Downloads                               
rmdir /S /Q  c:\Users\aaa\Documents                     
rmdir /S /Q  c:\Users\aaa\Downloads                     
rmdir /S /Q  c:\Users\aaa\Music                         
rmdir /S /Q  c:\Users\aaa\Pictures                      
rmdir /S /Q  c:\Users\aaa\Videos                        
rmdir /S /Q  c:\Users\aaa\Links                         
rmdir /S /Q  c:\Users\aaa\Contacts                      
rmdir /S /Q  c:\Users\aaa\Searches                      
rmdir /S /Q  c:\Users\aaa\OneDrive                      
rmdir /S /Q  c:\Users\aaa\Intel                         
rmdir /S /Q  c:\Users\aaa\IntelGraphicsProfiles         
rmdir /S /Q  c:\Users\aaa\dwhelper                      
rmdir /S /Q  c:\Users\aaa\Tracing                       
rmdir /S /Q "c:\Users\aaa\My Documents"                 
rmdir /S /Q "c:\Users\aaa\Saved Games"                  
rmdir /S /Q "c:\Users\aaa\Saved Pictures"               
rmdir /S /Q "c:\Users\aaa\Camera Roll"                  
rmdir /S /Q "c:\Users\aaa\Desktop\Saved Pictures"       
rmdir /S /Q "c:\Users\aaa\Desktop\Camera Roll"          
rmdir /S /Q "c:\Users\aaa\Desktop\Updater"              
del         "c:\Users\aaa\Desktop\Downloads.lnk"        

mklink /d    c:\Downloads                               c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Documents                     c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Downloads                     c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Music                         c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Pictures                      c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Videos                        c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Links                         c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Contacts                      c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Searches                      c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\OneDrive                      c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Intel                         c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\IntelGraphicsProfiles         c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\dwhelper                      c:\Users\aaa\Desktop
mklink /d    c:\Users\aaa\Tracing                       c:\Users\aaa\Desktop
mklink /d   "c:\Users\aaa\My Documents"                 c:\Users\aaa\Desktop
mklink /d   "c:\Users\aaa\Saved Games"                  c:\Users\aaa\Desktop
mklink /d   "c:\Users\aaa\Saved Pictures"               c:\Users\aaa\Desktop
mklink /d   "c:\Users\aaa\Camera Roll"                  c:\Users\aaa\Desktop
mklink /d   "c:\Users\aaa\Desktop\Saved Pictures"       c:\Users\aaa\Desktop
mklink /d   "c:\Users\aaa\Desktop\Camera Roll"          c:\Users\aaa\Desktop
mklink /d   "c:\Users\aaa\Desktop\Updater"              c:\Users\aaa\Desktop
mklink /d   "c:\Users\aaa\Desktop\Downloads"            c:\Users\aaa\Desktop

rmdir /S /Q "c:\Users\aaa\Desktop\WPPMedia"
mklink /d   "c:\Users\aaa\Desktop\WPPMedia"            c:\$Recycle.Bin

rm c:\Users\aaa\Pictures
mklink /d c:\Users\aaa\Pictures "c:\Users\aaa\My Documents\My Pictures"

例:Google日本語入力の辞書データを他の場所に指定する

cd c:\
move   "c:\Users\aaa\AppData\LocalLow\Google\Google Japanese Input\user_dictionary.db" z:\user_dictionary.db
mklink "c:\Users\aaa\AppData\LocalLow\Google\Google Japanese Input\user_dictionary.db" z:\user_dictionary.db
広告を非表示にする