Moving away from $HOME

rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 1 Follower

Not Ranked
2 Posts
Mike Nelson posted on 04-25-2012 10:28 AM

My Windows 7 Laptop came with the PowerShell $HOME set to a network drive (Z:\).  I want to permanently change this to be my Dropbox folder (C:\Users\username\Dropbox).  How do I go about that?

All Replies

Not Ranked
2 Posts

My solution would be:

Add the following line to your profile.ps1 script. (should be in your powershell folder)

$env:homepath = "C:\Users\username\Dropbox"

Page 1 of 1 (2 items) | RSS
Copyright 2012 All rights reserved.