neolith
neolith

Reputation: 819

Is there an alias for the home folder in Windows 10?

I need an alias like ~ in Unix to make a program use files from different accounts. Does something like that exist in Windows 10?

Upvotes: 12

Views: 8645

Answers (1)

user330315
user330315

Reputation:

I would consider %USERPROFILE% to be the equivalent to $HOME

Other options - depending on how you want to use that in your program - might be %APPDATA% or %LOCALAPPDATA%

An annotated list of variables can be found here

Upvotes: 21

Related Questions